Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3571041pxb; Mon, 24 Jan 2022 12:29:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJyn2dUiNTUCil22wGu0oadVle32JvEDJe2ud8Yvgbfsq1N2E5uYXk/xHuQ74mCP4Q8OpLVk X-Received: by 2002:a63:2c47:: with SMTP id s68mr12950825pgs.97.1643056188000; Mon, 24 Jan 2022 12:29:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643056187; cv=none; d=google.com; s=arc-20160816; b=Q+GPxDDa33Z8eIQZmNfN+Z9rGPUIH2NQXURo40me0373Q5hagUoawsxF2+Imngl6n7 /6YOyXhiFW6dwKQvtxAoSTo9f9PQABTGUFK69YYoNGZkcNEpQGSDveU3EPzYXgm2mPcA LR9Nk9eF6zSvvoREQI4WjE+/oCqtL1g3t5DaDAYXUMticUe4l3Nz2Sp6lstU2oZSt1vG vS3Pq5sE3VtUJ7wnO8QUocZ8k5H/7S6ZUS8TZzSK6s8z9C+7EBzuQa4WufKhXrtw8gs/ Aun6tKSW8ItMKT6OZUXXQoZq+uA6W4tnTm7LWfD9nn2P0apezih8PfNEcga4iAL/Z/Ba Q56g== 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=m5gZFfxb3g0GmckLSpNl4uqfIIWMvCHQZYTpnAm5ybo=; b=zR/WsZ3UhyzICrdJ8MVpsQf4bhG53bwSg9qNNGiYg1R76OXCixNekavB0EhH3J7tsY 7BpNPpjuwoHYdH+/cAy+HxyBGfX0A30bo/QQomHokXWTtP2cdFFC3++Ux/Zg0DyR+UZm WlxWijdUsr9hlaKj2hosFHEd61Vt19nbgjjnGU6tBimj1otopLwaQ6VmN1QV22zn2YL4 IEwSqtyMJKIYbrzjYx0MMQtQVOghLGx64+7lnhIgZzvQ2HT+Ho48iJ/MJa5Ke2zVqNTl MivtqHybjVenZgNLZwYuqZCSg4oFl+2gv0wQ6i+eJIN1fo+yvLb/YQraeO59cdPC2M5c n50w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Z8QORHsR; 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 p17si1488038pla.298.2022.01.24.12.29.35; Mon, 24 Jan 2022 12:29:47 -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=Z8QORHsR; 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 S1353123AbiAXTcx (ORCPT + 99 others); Mon, 24 Jan 2022 14:32:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346845AbiAXTXY (ORCPT ); Mon, 24 Jan 2022 14:23:24 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E14B2C061347; Mon, 24 Jan 2022 11:10:03 -0800 (PST) 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 7B0E2611ED; Mon, 24 Jan 2022 19:10:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 41EE1C340E5; Mon, 24 Jan 2022 19:10:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643051402; bh=XfvMCZS3irHfKeCkn05KQOEPPkpf/f2tJwSHwFj1Rh0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Z8QORHsRvXSDl9YiU5HA5O55S53G3OqK7ILys35Fg6NAcWQMxssWDWZi1thL/QZLB hHxHkdCiH9lDOSjyCU1oGiA76KBKg7mlP9S51nyfzR2+aoSOg8wBQ4lfjPTzMKhGUq WEwdAaix6kx9Z1pSf5PCY/7T/1vhYOv2ibFeciME= 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 4.14 143/186] i2c: designware-pci: Fix to change data types of hcnt and lcnt parameters Date: Mon, 24 Jan 2022 19:43:38 +0100 Message-Id: <20220124183941.706542243@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124183937.101330125@linuxfoundation.org> References: <20220124183937.101330125@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 86e1bd0b82e91..347d82dff67c0 100644 --- a/drivers/i2c/busses/i2c-designware-pcidrv.c +++ b/drivers/i2c/busses/i2c-designware-pcidrv.c @@ -50,10 +50,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