]> git.baikalelectronics.ru Git - kernel.git/commit
cciss: fix compile issue
authorJens Axboe <jaxboe@fusionio.com>
Fri, 6 May 2011 14:27:00 +0000 (08:27 -0600)
committerJens Axboe <jaxboe@fusionio.com>
Fri, 6 May 2011 14:27:00 +0000 (08:27 -0600)
commitfb67651f042ab03f82f47babe7e0aed82589d88a
tree07f6c65a492ca04c67967142a0eb176e20bbf77f
parent9ef4969fc3c237c6adfa1ed7d90324d3df877595
cciss: fix compile issue

drivers/block/cciss.c: In function ‘cciss_send_reset’:
drivers/block/cciss.c:2515:2: error: implicit declaration of function ‘fill_cmd’
drivers/block/cciss.c: At top level:
drivers/block/cciss.c:2531:12: error: conflicting types for ‘fill_cmd’
drivers/block/cciss.c:2534:1: note: an argument type that has a default promotion can’t match an empty parameter name list declaration
drivers/block/cciss.c:2515:18: note: previous implicit declaration of ‘fill_cmd’ was here
make[1]: *** [drivers/block/cciss.o] Error 1
make: *** [drivers/block/cciss.o] Error 2

Move fill_cmd() to above where it is first used.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/cciss.c