diff options
| author | Paul Bolle <[email protected]> | 2012-10-14 15:50:11 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2012-10-28 12:20:01 -0200 |
| commit | 895507c19f88b7bbf82f24737d86cca0398647cb (patch) | |
| tree | 544ca6fb00dceacb94cf9418eea663861cc301fc /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 0dec86886c4836081a3327bd735cfa4745c1e048 (diff) | |
[media] staging: lirc_serial: silence GCC warning
Building lirc_serial.o triggers this GCC warning:
drivers/staging/media/lirc/lirc_serial.c: In function '__check_sense':
drivers/staging/media/lirc/lirc_serial.c:1301:1: warning: return from incompatible pointer type [enabled by default]
This can be trivially fixed by changing the 'sense' parameter from bool
to int. But, to be safe, we also need to make sure 'sense' will only be
-1, 0, or 1. There's no need to document the new values that are now
allowed for the 'sense' parameter, since they're basically useless.
Signed-off-by: Paul Bolle <[email protected]>
Cc: Jarod Wilson <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions