Re: [PATCH] fbdev: atyfb: fix array overflow

2016-06-23 Thread Ville Syrjälä
On Thu, Jun 23, 2016 at 11:22:20AM +0200, Arnd Bergmann wrote: > On Thursday, June 23, 2016 10:50:04 AM CEST Geert Uytterhoeven wrote: > > Hi Arnd, > > > > On Wed, Jun 22, 2016 at 2:37 PM, Arnd Bergmann wrote: > > > When building with CONFIG_UBSAN_SANITIZE_ALL on ARM, I get this > > > gcc warning

Re: [PATCH] fbdev: atyfb: fix array overflow

2016-06-23 Thread Ville Syrjälä
On Thu, Jun 23, 2016 at 11:06:11AM +0200, Arnd Bergmann wrote: > On Thursday, June 23, 2016 3:28:25 AM CEST Ville Syrjälä wrote: > > On Wed, Jun 22, 2016 at 02:37:11PM +0200, Arnd Bergmann wrote: > > > When building with CONFIG_UBSAN_SANITIZE_ALL on ARM, I get this > > > gcc warning for atyfb: > >

Re: [PATCH] fbdev: atyfb: fix array overflow

2016-06-23 Thread Arnd Bergmann
On Thursday, June 23, 2016 10:50:04 AM CEST Geert Uytterhoeven wrote: > Hi Arnd, > > On Wed, Jun 22, 2016 at 2:37 PM, Arnd Bergmann wrote: > > When building with CONFIG_UBSAN_SANITIZE_ALL on ARM, I get this > > gcc warning for atyfb: > > > > drivers/video/fbdev/aty/atyfb_base.c: In function 'aty_

Re: [PATCH] fbdev: atyfb: fix array overflow

2016-06-23 Thread Arnd Bergmann
On Thursday, June 23, 2016 3:28:25 AM CEST Ville Syrjälä wrote: > On Wed, Jun 22, 2016 at 02:37:11PM +0200, Arnd Bergmann wrote: > > When building with CONFIG_UBSAN_SANITIZE_ALL on ARM, I get this > > gcc warning for atyfb: > > > > drivers/video/fbdev/aty/atyfb_base.c: In function 'aty_bl_update_s

Re: [PATCH] fbdev: atyfb: fix array overflow

2016-06-23 Thread Geert Uytterhoeven
Hi Arnd, On Wed, Jun 22, 2016 at 2:37 PM, Arnd Bergmann wrote: > When building with CONFIG_UBSAN_SANITIZE_ALL on ARM, I get this > gcc warning for atyfb: > > drivers/video/fbdev/aty/atyfb_base.c: In function 'aty_bl_update_status': > drivers/video/fbdev/aty/atyfb_base.c:167:33: warning: array sub

Re: [PATCH] fbdev: atyfb: fix array overflow

2016-06-22 Thread Ville Syrjälä
On Wed, Jun 22, 2016 at 02:37:11PM +0200, Arnd Bergmann wrote: > When building with CONFIG_UBSAN_SANITIZE_ALL on ARM, I get this > gcc warning for atyfb: > > drivers/video/fbdev/aty/atyfb_base.c: In function 'aty_bl_update_status': > drivers/video/fbdev/aty/atyfb_base.c:167:33: warning: array subs

[PATCH] fbdev: atyfb: fix array overflow

2016-06-22 Thread Arnd Bergmann
When building with CONFIG_UBSAN_SANITIZE_ALL on ARM, I get this gcc warning for atyfb: drivers/video/fbdev/aty/atyfb_base.c: In function 'aty_bl_update_status': drivers/video/fbdev/aty/atyfb_base.c:167:33: warning: array subscript is above array bounds [-Warray-bounds] drivers/video/fbdev/aty/aty