]> git.karo-electronics.de Git - linux-beck.git/commit
staging: lirc: Fix sparse warnings
authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Thu, 8 May 2014 11:13:17 +0000 (14:13 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 12:39:28 +0000 (21:39 +0900)
commit12a7208386ac6bb114d1816ecfb6a9da3f179616
tree3eed0619681e69c4f96d2c3dc607e41a615f1dd8
parentdef2d8b069c3d4f388022f485b9e1823fe1fd6d9
staging: lirc: Fix sparse warnings

Fix sparse warnings by adding __user and __iomem annotations where
necessary and removing certain unnecessary casts. While at it,
also use u32 in place of __u32.

Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/lirc/lirc_bt829.c
drivers/staging/media/lirc/lirc_parallel.c
drivers/staging/media/lirc/lirc_serial.c
drivers/staging/media/lirc/lirc_sir.c
drivers/staging/media/lirc/lirc_zilog.c