Fix the following sparse warnings in several locations:
authorvlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Tue, 15 Jul 2008 17:55:02 +0000 (17:55 +0000)
committervlnb <vlnb@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Tue, 15 Jul 2008 17:55:02 +0000 (17:55 +0000)
commit9d3f1dca592378091bda173a06f81226b6241c74
tree7caa953803bddf0d2e12168a0c441372492bea17
parente92835963878f3f669abd3b3afb314beb05de987
Fix the following sparse warnings in several locations:

 warning: incorrect type in argument 2 (different address spaces)
    expected void const [noderef] <asn:1>*from
    got void *<noident>
 warning: symbol '__dev_user_get_next_cmd' was not declared. Should it
be static?

One more optional fix (that i didn't do) is instead of casting
arg in the ioctl() function before every call to function
is to do the casting only once to a temporary variable and
send this variable to every function.

Signed-off-by: Dotan Barak <dotanba@gmail.com>
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@462 d57e44dd-8a1f-0410-8b47-8ef2f437770f
scst/src/dev_handlers/scst_user.c