Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3730687pxb; Mon, 24 Jan 2022 16:34:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJyQrB5Weho1qsb0gMS8d8k8IvMc6ef9v+F2fS5427GJZty2L3b1sA8LsvBFxq0BgflnJX2a X-Received: by 2002:a17:902:7147:b0:14b:661c:f937 with SMTP id u7-20020a170902714700b0014b661cf937mr3315974plm.152.1643070848175; Mon, 24 Jan 2022 16:34:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643070848; cv=none; d=google.com; s=arc-20160816; b=ue0FpKNS4P5cUs1U+ETvWgUCdTJScllAxcnEIzZ6gPHYuwpsIBXrJtKxHvLE2eWBI1 oOZHfmEBxGlx6vtffyAy1+mSf00SPqbduJrr+LeMjgncoQ9cUimJBiag4cTRAe2SfY7W d2ZipoX8G7qFZfHLAjfUiRwbnR8cXfftiAjX89dIcpNBkhpb3qSV7KSgYLe45BXDngbJ MSbXEq6btgs5OH9GoWlrPF1SSXSV11PvbOkxR+f4Q9gkVae6xXqum68Zlk6SAP91Hq2W ozWcMalWVCRllsQ3Zo11Q9ZA7szx/h1oYwHZVrEPTMjbL62S069RmMyhZwtapnx2Q1LS HMXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=e0YkKotQ8oAUeG1Xw7AA71ZnMvv43oE/zlqzBbhLNGI=; b=pkpQcZQOdQknI0RgV4UjqEWA3gyWMjOvkqXX+rxaGH8jnFDXuddpXgLs1JXibkY4Hl 9wvuWH7Mt+rv16njtQECsCnAgVeLrK1XHsoJmVS78glTEijHgTiNi5uU7Md/uPZaVLlj wa2mVq2SkzYISmR12C5KrlAXR4TvJg3DKKD1dd9UBnfUh2cH/AqAFi4tT02/J96iAVtw 4N8UcKF4OWX6uxMYr1h45JglCG4ba2qMrkjgoyePjMnVYNuUT6Md6IwtwfcGfMtOQ1nY xbusS2cQYfCR+vY/3y8qKfdHgDaeKwaBSaJwskFQ6zyi3SU3515Qze3ImqxczClKGH3+ xzcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=VQwHHWl0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 12si10627683pgk.292.2022.01.24.16.33.55; Mon, 24 Jan 2022 16:34:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=VQwHHWl0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S3410764AbiAYAaR (ORCPT + 99 others); Mon, 24 Jan 2022 19:30:17 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:52794 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1454509AbiAXVdB (ORCPT ); Mon, 24 Jan 2022 16:33:01 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id ED07F614F1; Mon, 24 Jan 2022 21:33:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CCD73C340E4; Mon, 24 Jan 2022 21:32:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643059980; bh=/4ymQkPm05sQ9np1VxxhcptsSvkId83WEA1PyJ18I4Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VQwHHWl0iRP9zfSQijm/Q/MEcCm18FwZaX/aOrnAXij4D6MCqLTOGI0Bc8D406zFo G2wqn2dhugrf2T5eeQjg4rNDJHWhPSXVv5ul+wVlohKL8D1LL6ZGrxl9uP/QBJMVAV AcZ85WSjgY8Di8OVuP0+yywfzYfIjpdd9cED6YGM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Wolfram Sang , Lakshmi Sowjanya D , Andy Shevchenko , Jarkko Nikula , Sasha Levin Subject: [PATCH 5.16 0766/1039] i2c: designware-pci: Fix to change data types of hcnt and lcnt parameters Date: Mon, 24 Jan 2022 19:42:35 +0100 Message-Id: <20220124184151.064536602@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184125.121143506@linuxfoundation.org> References: <20220124184125.121143506@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lakshmi Sowjanya D [ Upstream commit d52097010078c1844348dc0e467305e5f90fd317 ] The data type of hcnt and lcnt in the struct dw_i2c_dev is of type u16. It's better to have same data type in struct dw_scl_sda_cfg as well. Reported-by: Wolfram Sang Signed-off-by: Lakshmi Sowjanya D Signed-off-by: Andy Shevchenko Signed-off-by: Jarkko Nikula Signed-off-by: Wolfram Sang Signed-off-by: Sasha Levin --- drivers/i2c/busses/i2c-designware-pcidrv.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-designware-pcidrv.c b/drivers/i2c/busses/i2c-designware-pcidrv.c index 0f409a4c2da0d..5b45941bcbddc 100644 --- a/drivers/i2c/busses/i2c-designware-pcidrv.c +++ b/drivers/i2c/busses/i2c-designware-pcidrv.c @@ -39,10 +39,10 @@ enum dw_pci_ctl_id_t { }; struct dw_scl_sda_cfg { - u32 ss_hcnt; - u32 fs_hcnt; - u32 ss_lcnt; - u32 fs_lcnt; + u16 ss_hcnt; + u16 fs_hcnt; + u16 ss_lcnt; + u16 fs_lcnt; u32 sda_hold; }; -- 2.34.1