CC: [email protected]
In-Reply-To: <[email protected]>
References: <[email protected]>
TO: Geert Uytterhoeven <[email protected]>
TO: Miguel Ojeda <[email protected]>
CC: Robin van der Gracht <[email protected]>
CC: Rob Herring <[email protected]>
CC: Paul Burton <[email protected]>
CC: "Greg Kroah-Hartman" <[email protected]>
CC: Pavel Machek <[email protected]>
CC: Marek Behun <[email protected]>
CC: [email protected]
CC: [email protected]
CC: [email protected]

Hi Geert,

I love your patch! Perhaps something to improve:

[auto build test WARNING on robh/for-next]
[also build test WARNING on linus/master v5.15-rc5 next-20211013]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    
https://github.com/0day-ci/linux/commits/Geert-Uytterhoeven/auxdisplay-ht16k33-Add-character-display-support/20211013-025705
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
:::::: branch date: 2 days ago
:::::: commit date: 2 days ago
config: i386-randconfig-m031-20211012 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>

smatch warnings:
include/uapi/linux/map_to_14segment.h:87 map_to_seg14() error: buffer overflow 
'map->table' 128 <= 255
include/uapi/linux/map_to_14segment.h:87 map_to_seg14() error: buffer overflow 
'map->table' 128 <= 255
include/uapi/linux/map_to_14segment.h:87 map_to_seg14() error: buffer overflow 
'map->table' 128 <= 255

vim +87 include/uapi/linux/map_to_14segment.h

d26423994040a7 Geert Uytterhoeven 2021-10-12  84  
d26423994040a7 Geert Uytterhoeven 2021-10-12  85  static __inline__ int 
map_to_seg14(struct seg14_conversion_map *map, int c)
d26423994040a7 Geert Uytterhoeven 2021-10-12  86  {
d26423994040a7 Geert Uytterhoeven 2021-10-12 @87        return c >= 0 && c < 
sizeof(map->table) ? __be16_to_cpu(map->table[c])
d26423994040a7 Geert Uytterhoeven 2021-10-12  88                                
                : -EINVAL;
d26423994040a7 Geert Uytterhoeven 2021-10-12  89  }
d26423994040a7 Geert Uytterhoeven 2021-10-12  90  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/[email protected]

Attachment: .config.gz
Description: application/gzip

_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to