]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - scripts/kconfig/lkc.h
KVM: PPC: Use preregistered memory API to access TCE list
[mirror_ubuntu-zesty-kernel.git] / scripts / kconfig / lkc.h
index 91ca126ea0802e40278bbbf09b3413ce59c1bc15..9faeb237f7ae95b546b856de7bbbb446b8455cc8 100644 (file)
@@ -88,7 +88,9 @@ void set_all_choice_values(struct symbol *csym);
 /* confdata.c and expr.c */
 static inline void xfwrite(const void *str, size_t len, size_t count, FILE *out)
 {
-       assert(len != 0);
+       //assert(len != 0);
+       if (len == 0)
+               return;
 
        if (fwrite(str, len, count, out) != count)
                fprintf(stderr, "Error in writing or end of file.\n");