diff options
author | Maya Nakamura <m.maya.nakamura@gmail.com> | 2018-10-18 04:29:42 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-19 15:10:45 -0400 |
commit | 2bc51572aa6ce39cb2e21b73e5278bb7cd98762b (patch) | |
tree | be58c7d9724749ece559ca0131826a2393035f9a | |
parent | dd71c89b2c1ae049d2018107e9d7a41261db3f7b (diff) |
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>
-rw-r--r-- | drivers/staging/wlan-ng/p80211conv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wlan-ng/p80211conv.c b/drivers/staging/wlan-ng/p80211conv.c index 91debcf20646..0ff5fda81b05 100644 --- a/drivers/staging/wlan-ng/p80211conv.c +++ b/drivers/staging/wlan-ng/p80211conv.c | |||
@@ -430,7 +430,7 @@ int skb_p80211_to_ether(struct wlandevice *wlandev, u32 ethconv, | |||
430 | /* A bogus length ethfrm has been sent. */ | 430 | /* A bogus length ethfrm has been sent. */ |
431 | /* Is someone trying an oflow attack? */ | 431 | /* Is someone trying an oflow attack? */ |
432 | netdev_err(netdev, "DIXII frame too large (%ld > %d)\n", | 432 | netdev_err(netdev, "DIXII frame too large (%ld > %d)\n", |
433 | (long int)(payload_length - | 433 | (long)(payload_length - |
434 | sizeof(struct wlan_llc) - | 434 | sizeof(struct wlan_llc) - |
435 | sizeof(struct wlan_snap)), netdev->mtu); | 435 | sizeof(struct wlan_snap)), netdev->mtu); |
436 | return 1; | 436 | return 1; |