From 160eaf20a8de747c32881b52f08eeb4394f8d9a6 Mon Sep 17 00:00:00 2001 From: Elena Oat Date: Wed, 12 Mar 2014 12:19:25 +0200 Subject: [PATCH] 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-format-patch failed