• Harvey Harrison's avatar
    It would be easy to get rid of the typedefs too, but I kept this · 92821ff1
    Harvey Harrison authored
    minimal.
    
    Noticed by sparse:
    drivers/scsi/gdth.c:2395:31: warning: incorrect type in assignment (different base types)
    drivers/scsi/gdth.c:2395:31:    expected unsigned int [unsigned] [assigned] [usertype] last_block_no
    drivers/scsi/gdth.c:2395:31:    got restricted __be32 [usertype] <noident>
    drivers/scsi/gdth.c:2396:27: warning: incorrect type in assignment (different base types)
    drivers/scsi/gdth.c:2396:27:    expected unsigned int [unsigned] [assigned] [usertype] block_length
    drivers/scsi/gdth.c:2396:27:    got restricted __be32 [usertype] <noident>
    drivers/scsi/gdth.c:2406:33: warning: incorrect type in assignment (different base types)
    drivers/scsi/gdth.c:2406:33:    expected unsigned long long [unsigned] [usertype] last_block_no
    drivers/scsi/gdth.c:2406:33:    got restricted __be64 [usertype] <noident>
    drivers/scsi/gdth.c:2407:33: warning: incorrect type in assignment (different base types)
    drivers/scsi/gdth.c:2407:33:    expected unsigned int [unsigned] [usertype] block_length
    drivers/scsi/gdth.c:2407:33:    got restricted __be32 [usertype] <noident>
    Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
    Cc: Boaz Harrosh <bharrosh@panasas.com>
    Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    92821ff1
gdth.h 47 KB