]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[SCSI] aacraid: don't assign cpu_to_le32(int) to u8
authorChristoph Hellwig <hch@infradead.org>
Thu, 8 Nov 2007 17:27:47 +0000 (17:27 +0000)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jan 2008 00:22:46 +0000 (18:22 -0600)
commitf3307f7276067e2f8f29a20e3ebe52887e8f9f00
tree83ba74916e6dff503066c15e07495af8e2562eb4
parent3fb8931645e23785ee406444a782ba03c31d0e71
[SCSI] aacraid: don't assign cpu_to_le32(int) to u8

On Wed, Nov 07, 2007 at 01:51:44PM -0500, Salyzyn, Mark wrote:
> Christoph Hellwig [mailto:hch@infradead.org] sez:
> > Did anyone run the driver through sparse to see if we have
> > more issues like this?
>
> There are some warnings from sparse, none like this one. I will deal
> with the warnings ...

Actually there are a lot of endianess warnings, fortunately most of them
harmless.  The patch below fixes all of them up (including the ones in
the patch I replied to), except for aac_init_adapter which is really odd
and I don't know what to do.

[jejb fixed up rejections and checkpatch issues]

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Mark Salyzyn <mark_salyzyn@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/aacraid/aachba.c
drivers/scsi/aacraid/commsup.c
drivers/scsi/aacraid/dpcsup.c
drivers/scsi/aacraid/linit.c
drivers/scsi/aacraid/rx.c