From: Elena Oat Date: Wed, 12 Mar 2014 10:19:25 +0000 (+0200) Subject: Staging: rtl8188eu: Fix sparse warnings. X-Git-Tag: v3.15-rc1~139^2~424 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=160eaf20a8de747c32881b52f08eeb4394f8d9a6;p=pandora-kernel.git Staging: rtl8188eu: Fix sparse warnings. This patch fixes following warnings produced by sparse: drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3867:31: expected void const * drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3867:31: got void [noderef] *pointer drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3869:38: warning: incorrect type in argument 1 (different address spaces) drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3869:38: expected void const * drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3869:38: got void [noderef] *pointer drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3871:38: warning: incorrect type in argument 1 (different address spaces) drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3871:38: expected void const * drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3871:38: got void [noderef] *pointer drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3873:38: warning: incorrect type in argument 1 (different address spaces) drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3873:38: expected void const * drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3873:38: got void [noderef] *pointer drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3875:38: warning: incorrect type in argument 1 (different address spaces) drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3875:38: expected void const * drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3875:38: got void [noderef] *pointer drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3878:38: warning: incorrect type in argument 1 (different address spaces) drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3878:38: expected void const * drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3878:38: got void [noderef] *pointer drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3880:38: warning: incorrect type in argument 1 (different address spaces) drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3880:38: expected void const * drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3880:38: got void [noderef] *pointer drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3883:38: warning: incorrect type in argument 1 (different address spaces) drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3883:38: expected void const * drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3883:38: got void [noderef] *pointer drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:3897:9: warning: cast removes address space of expression While at it, I have also fixed the warnings of lines over 80 characters. Signed-off-by: Elena Oat Signed-off-by: Peter P Waskiewicz Jr --- Reading git-diff-tree failed