Re: [PATCH 1/1 linux-next] fs: add BLOCKSIZE(inode)

From: kbuild test robot
Date: Sat Dec 10 2016 - 04:54:28 EST


Hi Fabian,

[auto build test WARNING on next-20161209]

url: https://github.com/0day-ci/linux/commits/Fabian-Frederick/fs-add-BLOCKSIZE-inode/20161210-171013
config: x86_64-acpi-redef (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64

All warnings (new ones prefixed by >>):

>> drivers/media/dvb-frontends/sp887x.c:131:0: warning: "BLOCKSIZE" redefined
#define BLOCKSIZE 30

In file included from include/linux/poll.h:9:0,
from drivers/media/dvb-core/dvbdev.h:27,
from drivers/media/dvb-core/dvb_frontend.h:47,
from drivers/media/dvb-frontends/sp887x.c:20:
include/linux/fs.h:546:0: note: this is the location of the previous definition
#define BLOCKSIZE(node) (1 << inode->i_blkbits)


vim +/BLOCKSIZE +131 drivers/media/dvb-frontends/sp887x.c

^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 115 sp887x_writereg(state, 0x33c, 0x054);
^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 116 sp887x_writereg(state, 0x33b, 0x04c);
^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 117 sp887x_writereg(state, 0x328, 0x000);
^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 118 sp887x_writereg(state, 0x327, 0x005);
^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 119 sp887x_writereg(state, 0x326, 0x001);
^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 120 sp887x_writereg(state, 0x325, 0x001);
^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 121 sp887x_writereg(state, 0x324, 0x001);
^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 122 sp887x_writereg(state, 0x318, 0x050);
^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 123 sp887x_writereg(state, 0x317, 0x3fe);
^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 124 sp887x_writereg(state, 0x316, 0x001);
^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 125 sp887x_writereg(state, 0x313, 0x005);
^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 126 sp887x_writereg(state, 0x312, 0x002);
^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 127 sp887x_writereg(state, 0x306, 0x000);
^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 128 sp887x_writereg(state, 0x303, 0x000);
^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 129 }
^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 130
^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 @131 #define BLOCKSIZE 30
^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 132 #define FW_SIZE 0x4000
^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 133 /**
^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 134 * load firmware and setup MPEG interface...
^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 135 */
^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 136 static int sp887x_initial_setup (struct dvb_frontend* fe, const struct firmware *fw)
^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 137 {
b8742700 drivers/media/dvb/frontends/sp887x.c Johannes Stezenbach 2005-05-16 138 struct sp887x_state* state = fe->demodulator_priv;
^1da177e drivers/media/dvb/frontends/sp887x.c Linus Torvalds 2005-04-16 139 u8 buf [BLOCKSIZE+2];

:::::: The code at line 131 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip