Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751190AbdL0FxA (ORCPT ); Wed, 27 Dec 2017 00:53:00 -0500 Received: from mail-pl0-f68.google.com ([209.85.160.68]:37039 "EHLO mail-pl0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750772AbdL0Fw6 (ORCPT ); Wed, 27 Dec 2017 00:52:58 -0500 X-Google-Smtp-Source: ACJfBotCLlpJnmmJ+7AEno9kNYNLduP1OMDFrCWENhm+JGPENZbavC1FJdaKwBIKzGT0z7aloB9Y1A== Date: Tue, 26 Dec 2017 21:52:54 -0800 From: JI-HUN KIM To: samuel@sortiz.org Cc: gregkh@linuxfoundation.org, davem@davemloft.net, shreeya.patel23498@gmail.com, netdev@vger.kernel.org, devel@driverdev.osuosl.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] staging: irda: fix type from "unsigned" to "unsigned int" Message-ID: <20171227055250.GA32718@MacBook-Air> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1081 Lines: 32 Clean up checkpatch warning: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' Signed-off-by: JI-HUN KIM --- 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)