[amirv:for-linux-rdma 2/5] mm/page_io.c:268:3: error: 'from' undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://flatbed.openfabrics.org/~amirv/linux.git for-linux-rdma
head:   e5838d516194045c687a64d9daf482cd5b531d64
commit: 1ed9b8773efbae7a4b3685dcd9402e2fe3c710f1 [2/5] regression: mm/page_io.c: work around gcc bug
config: make ARCH=xtensa allyesconfig

All error/warnings:

   mm/page_io.c: In function '__swap_writepage':
>> mm/page_io.c:268:3: error: 'from' undeclared (first use in this function)
      from.bvec = &bv;
      ^
   mm/page_io.c:268:3: note: each undeclared identifier is reported only once for each function it appears in
>> mm/page_io.c:268:16: error: 'bv' undeclared (first use in this function)
      from.bvec = &bv;
                   ^

vim +/from +268 mm/page_io.c

   262			struct iovec iov = {
   263				.iov_base = kmap(page),
   264				.iov_len  = PAGE_SIZE,
   265			};
   266	
   267			/* Do this by hand because old gcc messes up the initializer */
 > 268			from.bvec = &bv;
   269	
   270			init_sync_kiocb(&kiocb, swap_file);
   271			kiocb.ki_pos = page_file_offset(page);

---
0-DAY kernel build testing backend              Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]