]> git.karo-electronics.de Git - linux-beck.git/commit
scsi/NCR5380: fix build failures when debugging is enabled
authorFinn Thain <fthain@telegraphics.com.au>
Tue, 18 Mar 2014 00:42:17 +0000 (11:42 +1100)
committerChristoph Hellwig <hch@lst.de>
Wed, 28 May 2014 10:05:37 +0000 (12:05 +0200)
commit4dde8f7d7759c5fa9c5b64ff6af3eff7b4d3b315
tree5edddb24b0517973a37f0d56d4273afb351bffdf
parentd614f06832870a4b500c3122e4f24a665ece190d
scsi/NCR5380: fix build failures when debugging is enabled

The change from cmd->target to cmd->device->id was apparently the purpose of
commit a7f251228390e87d86c5e3846f99a455517fdd8e in
kernel/git/tglx/history.git but some instances have been missed.

Also fix the "NDEBUG_LAST_WRITE_SENT" and "NDEBUG_ALL" typo's.

Also fix some format strings (%ul becomes %lu) that caused compiler warnings.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Acked-by: Sam Creasey <sammy@sammy.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/NCR5380.c
drivers/scsi/sun3_NCR5380.c