Files
linux/drivers
Vivek Goyal 3e9bb2a071 block: fix amiga and atari floppy driver compile warning
Geert, my crosstool don't produce warning below. I guess this has to do
something with compiler version.

- Geert noticed following warning during compilation.

  drivers/block/amiflop.c:1344: warning: ‘rq’ may be used uninitialized in
  this function
  drivers/block/ataflop.c:1402: warning: ‘rq’ may be used uninitialized in
  this function

- Initialize rq to NULL to fix the warning. If we can't find a suitable request
  to dispatch, this function should return NULL instead of a possibly garbage
  pointer.

- Cross compile tested only. Don't have hardware to test it.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
2010-11-15 19:32:43 +01:00
..
…
…
…
…
2010-10-29 00:29:51 +02:00
…
2010-10-29 04:16:28 -04:00
2010-10-28 20:31:50 +02:00
…
2010-11-10 14:40:53 +01:00
2010-10-30 08:31:35 -07:00
…
…
…
…
2010-11-10 14:54:09 +01:00
…
…
…
…
…
2010-11-10 14:54:09 +01:00
…
2010-10-29 04:16:28 -04:00
…
…