Sparse spits out a warnings about __le16 and unsigned short assignment.
Change the type of size and event members of struct hostif_hdr
to __le16 and correct conversion to the proper cpu type.
Signed-off-by: Cezary Gapinski
---
drivers/staging/ks7010/ks7010_sdio.c | 10 ++
drivers
Sparse reports the following in fb_watterott.c:
warning: incorrect type in assignment (different base types)
expected unsigned short [unsigned] [short] [usertype]
got restricted __be16 [usertype]
Use __be16 types for endian correctness
Signed-off-by: Cezary Gapinski
---
drivers/staging
Fix the following formatting issues:
WARNING: Avoid unnecessary line continuations
Signed-off-by: Cezary Gapinski
---
This patch is a part of task 10 of eudyptula challenge
drivers/staging/fbtft/fbtft-sysfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging