mISDN: timerdev: use __user for mISDN_read's buffer argument
authorHannes Eder <hannes@hanneseder.net>
Sat, 13 Dec 2008 05:19:18 +0000 (21:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Dec 2008 05:19:18 +0000 (21:19 -0800)
commitc46f0a2d40f7ceb5fb696309bcd088ac75d0fe20
tree01be89d4eb3d5bd3bf8479ef78e5d1446f5f6fba
parent047ce8f207b144eb9be094ce7427d6e11a687010
mISDN: timerdev: use __user for mISDN_read's buffer argument

Fix this warning:

  drivers/isdn/mISDN/timerdev.c:264:11: warning: incorrect type in initializer (incompatible argument 2 (different address spaces))
  drivers/isdn/mISDN/timerdev.c:264:11:    expected int ( *read )( ... )
  drivers/isdn/mISDN/timerdev.c:264:11:    got int ( static [toplevel] *<noident> )( ... )

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Acked-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/mISDN/timerdev.c