aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2020-08-18 10:56:49 +0200
committerGreg Kroah-Hartman <[email protected]>2020-08-18 13:51:18 +0200
commite18d918bd2ccd725ac574f7d126ed0856fe794e3 (patch)
treeee9afc0bb568df50c6104462206b5b5647b7fff2 /tools/perf/scripts/python
parenta579767c1f4e3270818504843a86ba3277127152 (diff)
newport_con: fix no return statement in newport_show_logo
When CONFIG_LOGO_SGI_CLUT224 is unset, newport_show_logo contains no return, despite it should return a pointer. Add one returning NULL to fix a compiler warning: drivers/video/console/newport_con.c: In function 'newport_show_logo': drivers/video/console/newport_con.c:132:1: warning: no return statement in function returning non-void Note that the caller expects NULL from the function already. Signed-off-by: Jiri Slaby <[email protected]> Cc: Bartlomiej Zolnierkiewicz <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions