diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-06-06 20:52:56 (GMT) |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-06-29 17:11:34 (GMT) |
commit | a5cb67f7bc79364afbe83886ac92deeeef2ae0f2 (patch) | |
tree | d849a33431bf9d8240a97a1767fd5ec564ef6fe5 /.gitignore | |
parent | 9958d6f9a680bfd4b2c66ed3f34757f4ec181d2e (diff) | |
download | linux-fsl-qoriq-a5cb67f7bc79364afbe83886ac92deeeef2ae0f2.tar.xz |
[SCSI] sun3_NCR5380: Split NEXT() for lvalues/rvalues
Using the current NEXT() macro for both lvalues and rvalues gives:
In file included from drivers/scsi/sun3_scsi.c:623:
drivers/scsi/sun3_NCR5380.c: In function ‘NCR5380_queue_command_lck’:
drivers/scsi/sun3_NCR5380.c:993: warning: assignment discards qualifiers from pointer target type
drivers/scsi/sun3_NCR5380.c: In function ‘NCR5380_main’:
drivers/scsi/sun3_NCR5380.c:1147: warning: assignment discards qualifiers from pointer target type
drivers/scsi/sun3_NCR5380.c: In function ‘NCR5380_information_transfer’:
drivers/scsi/sun3_NCR5380.c:2277: warning: assignment discards qualifiers from pointer target type
drivers/scsi/sun3_NCR5380.c:2333: warning: assignment discards qualifiers from pointer target type
Change NEXT() to operate on rvalues only(), and introduce SET_NEXT() to
operate on lvalues, as is done in drivers/scsi/atari_NCR5380.c.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions