Re: [PATCH v2] scsi: wd7000: print sector number as 64-bit

2016-06-21 Thread Martin K. Petersen
> "Arnd" == Arnd Bergmann writes: Arnd> Enabling format checking in dprintk() shows that wd7000_biosparam Arnd> uses an incorrect format string for sector_t: Applied to 4.8/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from this list: send the line "unsu

Re: [PATCH v2] scsi: wd7000: print sector number as 64-bit

2016-06-21 Thread Joe Perches
On Tue, 2016-06-21 at 11:02 +0200, Arnd Bergmann wrote: > Enabling format checking in dprintk() shows that wd7000_biosparam > uses an incorrect format string for sector_t: trivia: > diff --git a/drivers/scsi/wd7000.c b/drivers/scsi/wd7000.c [] > @@ -192,7 +192,7 @@ >  #ifdef WD7000_DEBUG >  #defi

[PATCH v2] scsi: wd7000: print sector number as 64-bit

2016-06-21 Thread Arnd Bergmann
Enabling format checking in dprintk() shows that wd7000_biosparam uses an incorrect format string for sector_t: drivers/scsi/wd7000.c: In function 'wd7000_biosparam': drivers/scsi/wd7000.c:1594:21: error: format '%d' expects argument of type 'int', but argument 3 has type 'sector_t {aka long long