From patchwork Thu Sep 1 01:13:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jilin Yuan X-Patchwork-Id: 602607 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47DA1ECAAD1 for ; Thu, 1 Sep 2022 01:13:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232127AbiIABNx (ORCPT ); Wed, 31 Aug 2022 21:13:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232007AbiIABNv (ORCPT ); Wed, 31 Aug 2022 21:13:51 -0400 Received: from smtpbg.qq.com (bg4.exmail.qq.com [43.155.67.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B68412A5FA; Wed, 31 Aug 2022 18:13:46 -0700 (PDT) X-QQ-mid: bizesmtp64t1661994822t0foq260 Received: from localhost.localdomain ( [182.148.14.80]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 01 Sep 2022 09:13:41 +0800 (CST) X-QQ-SSF: 01000000000000D0F000000A0000000 X-QQ-FEAT: Yl5FOsZ5kXkmKP4wJouCLkMBfgdOs7J4lBDjZMdGPgAhTtJN8LzaSZqPRK1if 3R1BLIgGu64MW7wSnhfn5OlaEHHFm2/2YAOThPKYwF+PSX1DmcKZUyIjWrFq5pEXbGx79sv 55H+yiDVIel/yw8HvEG8a0ZTRC8sqXRxyXBCGjetNwD0+x6/BS+T5pwPes0GEUrvZXbFLz1 y2jRBfTr9azNeauNizO4SUzHG63UC6C1ElpVTH29jHT5UBLBy9f64bt/fciBC2+khUgtzVT S/thsJ1IymqF3ziw353F/Ixz0OTtSb/8YbolIsSGsZuDP4spSmDcv0GQVxKPwO0IiGmhzbz /VLsNMvTBVAL8RSwGwAcTblpsiiqO/P+8U/dkbSjoss6JJ6QUM= X-QQ-GoodBg: 0 From: Jilin Yuan To: mchehab@kernel.org Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Jilin Yuan Subject: [PATCH] media: siano: Use 'unsigned int' instead of just 'unsigned'. Date: Thu, 1 Sep 2022 09:13:35 +0800 Message-Id: <20220901011335.23313-1-yuanjilin@cdjrlc.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:cdjrlc.com:qybglogicsvr:qybglogicsvr4 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 'unsigned int' should be clearer than 'unsigned'. Signed-off-by: Jilin Yuan --- drivers/media/common/siano/sms-cards.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/common/siano/sms-cards.c b/drivers/media/common/siano/sms-cards.c index d4a116ab6c88..905007275fd6 100644 --- a/drivers/media/common/siano/sms-cards.c +++ b/drivers/media/common/siano/sms-cards.c @@ -149,7 +149,7 @@ static struct sms_board sms_boards[] = { }, }; -struct sms_board *sms_get_board(unsigned id) +struct sms_board *sms_get_board(unsigned int id) { BUG_ON(id >= ARRAY_SIZE(sms_boards));