[PATCH] wlan-ng/p80211conv.c: Fix warnings regarding types.

2017-02-13 Thread Anthony Brandon
Fix several warnings in p80211conv.c emitted when using make C=1 by turning the type member in wlan_ethhdr and wlan_snap into __be16 and changing le16_to_cpu into ntohs. Signed-off-by: Anthony Brandon --- drivers/staging/wlan-ng/p80211conv.c | 2 +- drivers/staging/wlan-ng/p80211conv.h | 4

[PATCH] staging:fbtft: Fix some warnings regarding types.

2017-02-16 Thread Anthony Brandon
Fix some warnings reported when running make C=1 M=drivers/staging/fbtft. Signed-off-by: Anthony Brandon --- drivers/staging/fbtft/fb_ra8875.c| 2 +- drivers/staging/fbtft/fb_watterott.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/fbtft

[PATCH v2] staging:fbtft: Fix some warnings regarding types.

2017-02-21 Thread Anthony Brandon
Running make C=1 M=drivers/staging/fbtft reports warnings about conversion from __be16 to unsigned short. Change the type of the variables being assigned into __be16 to remove those warnings. Signed-off-by: Anthony Brandon --- drivers/staging/fbtft/fb_ra8875.c| 2 +- drivers/staging/fbtft