aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorBastien Armand <[email protected]>2014-04-18 18:10:57 +0200
committerGreg Kroah-Hartman <[email protected]>2014-04-18 16:17:12 -0700
commit70a8c3eb8546cefe40fb0bc7991e8899b7b91075 (patch)
tree24399bd6b7438f4a7bee0cbe989d372e6c7c67b7 /tools/perf/scripts/python/bin
parente112f89bcc231d6ce1857a1a028c350c3fa869ed (diff)
staging: panel: fix sparse warnings in lcd_write
This patch fixes two sparse warnings related to lcd_write : warning: incorrect type in argument 1 (different address spaces) warning: incorrect type in initializer (incompatible argument 2 (different address spaces)) lcd_write can be used from kernel space (in panel_lcd_print) or from user space. So we introduce the lcd_write_char function that will write a char to the device. We modify lcd_write and panel_lcd_print to use it. Finally we add __user annotation missing in lcd_write. Signed-off-by: Bastien Armand <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions