The `np->permission' structure is smaller than the `np' structure but
sizeof(*np) worth of data is copied in there. Fix the size passed to
copy_from_user() to avoid overrun.
Fixes: 3d2ec9dcd5539d42 ("staging: Android: Add 'vsoc' driver for cuttlefish.")
Signed
ownload_fw()
warn: curly braces intended?
...and the following coccinelle warning:
drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c:325:2-38: code aligned
with following code on line 326
Fixes: c93ac39da006457f ("rtlwifi: Remove some redundant code")
Signed-off-by: Vincent Stehlé
were not started or created yet in that case
anyway.
This fixes the following coccinelle error:
drivers/staging/wilc1000/host_interface.c:6100:17-33: ERROR: pstrWFIDrv is
NULL but dereferenced.
Signed-off-by: Vincent Stehlé
Cc: Johnny Kim
Cc: Rachel Kim
Cc: Dean Lee
Cc: Chris Park
Cc
udc.c:3287:3: error: implicit declaration of
function ‘strict_strtol’ [-Werror=implicit-function-declaration]
Signed-off-by: Vincent Stehlé
Cc: Greg Kroah-Hartman
Cc: Magnus Damm
---
Hi,
This compilation error can be seen with e.g. linux next-20140627 and arm
allmodconfig.
Best regards,
V.
ialization from
incompatible pointer type [enabled by default]
.flush = rtl_op_flush,
^
drivers/staging/rtl8192ee/core.c:1599:2: warning: (near initialization for
‘rtl92e_ops.flush’) [enabled by default]
Signed-off-by: Vincent Stehlé
Cc: Greg Kroah-Hartman
Cc: Larry Finger
---
Hi,
d variable ‘ret’
[-Wunused-variable]
Signed-off-by: Vincent Stehlé
Cc: Andrzej Hajda
Cc: Daniel Vetter
Cc: Greg Kroah-Hartman
---
Hi,
This can be seen with e.g. linux next-20140523 and arm allmodconfig.
Best regards,
V.
drivers/staging/imx-drm/imx-tve.c | 1 -
1 file changed, 1 deletion(-)
Include slab.h to fix the following compilation error:
drivers/staging/dgap/dgap_fep5.c: In function ‘dgap_do_config_load’:
drivers/staging/dgap/dgap_fep5.c:78:2: error: implicit declaration of
function ‘kzalloc’ [-Werror=implicit-function-declaration]
Signed-off-by: Vincent Stehlé
Cc
Remove a few spaces at beginning and end of line. Remove single statement
braces {}. Remove two FSF boilerplate paragraphs.
Signed-off-by: Vincent Stehlé
Cc: Lidza Louina
Cc: Greg Kroah-Hartman
Cc: Scott H Kilau
Cc: eng.li...@digi.com
---
Hi,
This can be seen with e.g. linux next-20131224