Re: [PATCH] ata: hpt366: fix constant cast warning

2015-05-21 Thread Tejun Heo
On Tue, May 19, 2015 at 04:34:05PM +0200, Arnd Bergmann wrote: > gcc-5.x warns about a preexisting problem in the hpt36x pata driver: > > drivers/ata/pata_hpt366.c: In function 'hpt36x_init_one': > drivers/ata/pata_hpt366.c:376:9: warning: assignment discards 'const' > qualifier from pointer targ

Re: [PATCH] ata: hpt366: fix constant cast warning

2015-05-20 Thread Bartlomiej Zolnierkiewicz
Hi, On Tuesday, May 19, 2015 04:34:05 PM Arnd Bergmann wrote: > gcc-5.x warns about a preexisting problem in the hpt36x pata driver: > > drivers/ata/pata_hpt366.c: In function 'hpt36x_init_one': > drivers/ata/pata_hpt366.c:376:9: warning: assignment discards 'const' > qualifier from pointer tar

[PATCH] ata: hpt366: fix constant cast warning

2015-05-19 Thread Arnd Bergmann
gcc-5.x warns about a preexisting problem in the hpt36x pata driver: drivers/ata/pata_hpt366.c: In function 'hpt36x_init_one': drivers/ata/pata_hpt366.c:376:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers] Other ata drivers have the same p