Staging: sm750fb: use unsigned int instead unsigned
Subsystems (2)
PATCH v2 1/1 Staging: sm750fb: use unsigned int instead unsigned
This patch fixes a WARNING: Prefer 'unsigned int' to bare use of
'unsigned', found by checkpatch.pl. By fixing this the types of the parameters of the function become more explicit.
Signed-off-by Muraru Mihaela <[email protected]>
---
Changes in v2:
- modify the description of the patch.
--- drivers/staging/sm750fb/sm750.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
drivers/staging/sm750fb/sm750.c +5 -5
@@ -575,11 +575,11 @@ static int lynxfb_ops_check_var(struct fb_var_screeninfo *var,return hw_sm750_crtc_checkMode (crtc, var); } -static int lynxfb_ops_setcolreg (unsigned regno, -unsigned red, -unsigned green, -unsigned blue, -unsigned transp, +static int lynxfb_ops_setcolreg (unsigned int regno, +unsigned int red, +unsigned int green, +unsigned int blue, +unsigned int transp,struct fb_info *info) {struct lynxfb_par *par;
Signature · 1 line
2.7.4