mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
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 <mihaela.muraru21@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
9872fa751e
commit
14c681ea83
@ -575,11 +575,11 @@ static int lynxfb_ops_check_var(struct fb_var_screeninfo *var,
|
|||||||
return hw_sm750_crtc_checkMode(crtc, var);
|
return hw_sm750_crtc_checkMode(crtc, var);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int lynxfb_ops_setcolreg(unsigned regno,
|
static int lynxfb_ops_setcolreg(unsigned int regno,
|
||||||
unsigned red,
|
unsigned int red,
|
||||||
unsigned green,
|
unsigned int green,
|
||||||
unsigned blue,
|
unsigned int blue,
|
||||||
unsigned transp,
|
unsigned int transp,
|
||||||
struct fb_info *info)
|
struct fb_info *info)
|
||||||
{
|
{
|
||||||
struct lynxfb_par *par;
|
struct lynxfb_par *par;
|
||||||
|
Loading…
Reference in New Issue
Block a user