Commit 2bc51572 authored by Maya Nakamura's avatar Maya Nakamura Committed by Greg Kroah-Hartman
Browse files

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: default avatarMaya Nakamura <m.maya.nakamura@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dd71c89b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -430,7 +430,7 @@ int skb_p80211_to_ether(struct wlandevice *wlandev, u32 ethconv,
			/* A bogus length ethfrm has been sent. */
			/* A bogus length ethfrm has been sent. */
			/* Is someone trying an oflow attack? */
			/* Is someone trying an oflow attack? */
			netdev_err(netdev, "DIXII frame too large (%ld > %d)\n",
			netdev_err(netdev, "DIXII frame too large (%ld > %d)\n",
				   (long int)(payload_length -
				   (long)(payload_length -
				   sizeof(struct wlan_llc) -
				   sizeof(struct wlan_llc) -
				   sizeof(struct wlan_snap)), netdev->mtu);
				   sizeof(struct wlan_snap)), netdev->mtu);
			return 1;
			return 1;