* [PATCH 1/3] staging: irda: fix type from "unsigned" to "unsigned int"
@ 2017-12-27 5:52 JI-HUN KIM
2017-12-27 12:45 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: JI-HUN KIM @ 2017-12-27 5:52 UTC (permalink / raw)
To: samuel
Cc: devel, gregkh, kernel-janitors, linux-kernel, shreeya.patel23498,
netdev, davem
Clean up checkpatch warning:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
Signed-off-by: JI-HUN KIM <jihuun.k@gmail.com>
---
drivers/staging/irda/drivers/esi-sir.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/irda/drivers/esi-sir.c b/drivers/staging/irda/drivers/esi-sir.c
index eb7aa64..a12cf55 100644
--- a/drivers/staging/irda/drivers/esi-sir.c
+++ b/drivers/staging/irda/drivers/esi-sir.c
@@ -39,7 +39,7 @@
static int esi_open(struct sir_dev *);
static int esi_close(struct sir_dev *);
-static int esi_change_speed(struct sir_dev *, unsigned);
+static int esi_change_speed(struct sir_dev *, unsigned int);
static int esi_reset(struct sir_dev *);
static struct dongle_driver esi = {
@@ -93,7 +93,7 @@ static int esi_close(struct sir_dev *dev)
* Apparently (see old esi-driver) no delays are needed here...
*
*/
-static int esi_change_speed(struct sir_dev *dev, unsigned speed)
+static int esi_change_speed(struct sir_dev *dev, unsigned int speed)
{
int ret = 0;
int dtr, rts;
--
2.10.1 (Apple Git-78)
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH 1/3] staging: irda: fix type from "unsigned" to "unsigned int"
2017-12-27 5:52 [PATCH 1/3] staging: irda: fix type from "unsigned" to "unsigned int" JI-HUN KIM
@ 2017-12-27 12:45 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2017-12-27 12:45 UTC (permalink / raw)
To: JI-HUN KIM
Cc: samuel, devel, kernel-janitors, linux-kernel, shreeya.patel23498,
netdev, davem
On Tue, Dec 26, 2017 at 09:52:54PM -0800, JI-HUN KIM wrote:
> Clean up checkpatch warning:
> WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
>
> Signed-off-by: JI-HUN KIM <jihuun.k@gmail.com>
> ---
> drivers/staging/irda/drivers/esi-sir.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Please read drivers/staging/irda/TODO
sorry.
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-12-27 12:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-27 5:52 [PATCH 1/3] staging: irda: fix type from "unsigned" to "unsigned int" JI-HUN KIM
2017-12-27 12:45 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).