Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: wlan-ng: Replace long int with long

Replace long int with long as int is unnecessary according to the
checkpatch.pl warning. K&R write, 'The word int can be omitted... and
typically is.'

Signed-off-by: Maya Nakamura <m.maya.nakamura@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Maya Nakamura and committed by
Greg Kroah-Hartman
2bc51572 dd71c89b

+1 -1
+1 -1
drivers/staging/wlan-ng/p80211conv.c
··· 430 430 /* A bogus length ethfrm has been sent. */ 431 431 /* Is someone trying an oflow attack? */ 432 432 netdev_err(netdev, "DIXII frame too large (%ld > %d)\n", 433 - (long int)(payload_length - 433 + (long)(payload_length - 434 434 sizeof(struct wlan_llc) - 435 435 sizeof(struct wlan_snap)), netdev->mtu); 436 436 return 1;