Skip to content

Commit 8b86046

Browse files
keesKalle Valo
authored andcommitted
wifi: atmel: Fix atmel_private_handler array size
Fix the atmel_private_handler to correctly sized (1 element) again. (I should have checked the data segment for differences.) This had no behavioral impact (no private callbacks), but it made a very large zero-filled array. Cc: Simon Kelley <[email protected]> Cc: Kalle Valo <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Paolo Abeni <[email protected]> Cc: [email protected] Cc: [email protected] Fixes: 8af9d40 ("wifi: atmel: Avoid clashing function prototypes") Signed-off-by: Kees Cook <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 7bb09fb commit 8b86046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/wireless/atmel/atmel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2570,7 +2570,7 @@ static const iw_handler atmel_handler[] =
25702570

25712571
static const iw_handler atmel_private_handler[] =
25722572
{
2573-
IW_HANDLER(SIOCIWFIRSTPRIV, NULL),
2573+
NULL, /* SIOCIWFIRSTPRIV */
25742574
};
25752575

25762576
struct atmel_priv_ioctl {

0 commit comments

Comments
 (0)