From patchwork Thu Sep 1 01:18:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jilin Yuan X-Patchwork-Id: 602053 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 09B45ECAAD4 for ; Thu, 1 Sep 2022 01:18:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232490AbiIABSn (ORCPT ); Wed, 31 Aug 2022 21:18:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232445AbiIABSd (ORCPT ); Wed, 31 Aug 2022 21:18:33 -0400 Received: from smtpbg.qq.com (bg4.exmail.qq.com [43.155.67.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8034213287E; Wed, 31 Aug 2022 18:18:28 -0700 (PDT) X-QQ-mid: bizesmtp76t1661995101tl183vom Received: from localhost.localdomain ( [182.148.14.80]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 01 Sep 2022 09:18:20 +0800 (CST) X-QQ-SSF: 01000000000000D0F000000A0000000 X-QQ-FEAT: yFTBESVR13bmP1vhbBOWsDdLIdg88W7VljOWgedLS0fRkTBf9+TRqITWriyq/ XYier5i2fFUG1A+HmzBjkNLze9OoG/3OjSMqwXx3LPOAyCVqmRgWzdVtZfp2uPsAtuUZ63n V+66SSmE/dkF09/h8XTnydJjA1BYg6eW3jC3fLmdmDOq25lHCHxI7TqavPS0h636v15E6B2 +5wEwbbt4u5BTbz7Zy3oNe/c5V8aPkFzD5KwieG5Vp2cbG4I9/b2IMpIygb8k36qW/87l/V Pxa+a1eRfrRGHKS1XrAVz1OdJ/+9WM4X8yMKhtr44sVwcL01A0gaMYt51HBHXAm6C/s+ZC2 MLEY4BMvok1xqaFLp0fD0SyVsnqpRKfUadtoW7LQpId9RFnl0iSyJOoNj5EBw== X-QQ-GoodBg: 0 From: Jilin Yuan To: hverkuil@xs4all.nl, mchehab@kernel.org Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, Jilin Yuan Subject: [PATCH] media: cx2341x: Use 'unsigned int' instead of just 'unsigned'. Date: Thu, 1 Sep 2022 09:18:14 +0800 Message-Id: <20220901011814.24875-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/cx2341x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/common/cx2341x.c b/drivers/media/common/cx2341x.c index 1392bd6b0026..45bbe013a70d 100644 --- a/drivers/media/common/cx2341x.c +++ b/drivers/media/common/cx2341x.c @@ -1572,7 +1572,7 @@ static struct v4l2_ctrl *cx2341x_ctrl_new_menu(struct v4l2_ctrl_handler *hdl, } int cx2341x_handler_init(struct cx2341x_handler *cxhdl, - unsigned nr_of_controls_hint) + unsigned int nr_of_controls_hint) { struct v4l2_ctrl_handler *hdl = &cxhdl->hdl; u32 caps = cxhdl->capabilities;