Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3691075pxb; Mon, 24 Jan 2022 15:29:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJzKE4LeimH+IRPnLsDbBWsxzUCu0mXxdEQqBHLfUeQzfIPoB3wTzoTQdWLb46HclNvf2Pq1 X-Received: by 2002:a17:902:8d91:b0:14a:e2d7:d95c with SMTP id v17-20020a1709028d9100b0014ae2d7d95cmr16239355plo.154.1643066955916; Mon, 24 Jan 2022 15:29:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643066955; cv=none; d=google.com; s=arc-20160816; b=VL1C2YtKJ1ivoi+mAXib6U9GZJ4l41R6I+XGM8sRamUVJzfHCShLQx2PXqHJt0pg3B 8ukSWG41LWa8yimGjfZFuZdAaxEyRREKw4YIwqmikYOA4c8lnWfIKTvqt5I/Z/3ytBEL Tn4BGxsvSPPWR3UOrbzdsVbmnP9kyhhVC6trYsHDfoQbwiA/iOaQiz5UthFwGccwVVYM fFiT5VCIr7IiTVhqmZw4cMWNOytiNtKhIQCnght3nUCRrw32hMC0p9BDCylSBQ0+77Gl MBUK/4tyLMlylpHAh2tHEACZuYRzypaByOBWin8lkLU2Ee+mMOXm332/IlV6RDNPe9W/ LE8g== 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=RQop6ffUIUkUsR+LcBH6ImUu0GLvKLmWW9E94U8YW5gCwVXIAfzdjhiOJabsbB0oOA neybxnazQ3c6ar9O1WSEOj3gko6d/9RXlQbJMJW4mK6njulkExdaTc8YxTdg7NaYGaG/ 8k3gl4mxarnnZd+GsddM+bLAWAa989mzu1sMq8g8RZ70pFqEhR2rZUP1kXcAHjc6wTn3 prX+UcDpz5rHOTXLub1YK1SrBrFKDbttpn3jWSvuLJeAaqWKdixqjo2NjNGp85tV3jnT z3ooyufLDz1csJaLwgYUA8XfWzFDQA5sBpswEisAJoWTjONmU05vpGER5eBxZAWqV8f5 zVbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=c3TYj84R; 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 w2si14232023plz.170.2022.01.24.15.29.02; Mon, 24 Jan 2022 15:29:15 -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=c3TYj84R; 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 S1848098AbiAXXVo (ORCPT + 99 others); Mon, 24 Jan 2022 18:21:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1582360AbiAXWPL (ORCPT ); Mon, 24 Jan 2022 17:15:11 -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 7173AC0E260F; Mon, 24 Jan 2022 12:44:08 -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 4ED4E60B18; Mon, 24 Jan 2022 20:44:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 248D8C340E5; Mon, 24 Jan 2022 20:44:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643057046; bh=/4ymQkPm05sQ9np1VxxhcptsSvkId83WEA1PyJ18I4Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=c3TYj84RYfTGKzWfYtqajHNn2HPX8K8sAysUweamsKDjGTHfjqWcMqwaN+lOqJ2wo TyA/QfT5VMSSXxIZqG39nP955q3iims532F9CkNCn2SUDKgWErxXI7EHLwI6EUunoJ aPFA2RiXygUn2rZIzzYegTZa44C+0W0Az5C/OqS4= 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.15 652/846] i2c: designware-pci: Fix to change data types of hcnt and lcnt parameters Date: Mon, 24 Jan 2022 19:42:49 +0100 Message-Id: <20220124184123.534351826@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124184100.867127425@linuxfoundation.org> References: <20220124184100.867127425@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