Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3551118pxb; Mon, 24 Jan 2022 12:02:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJxX5pXSHh63bo1oFnLxNd7XXQpNZqESjlxv65rORNz26BDaV6LE7dscBUASgy4AYT5bq2Hc X-Received: by 2002:a63:213:: with SMTP id 19mr5352618pgc.429.1643054538058; Mon, 24 Jan 2022 12:02:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643054538; cv=none; d=google.com; s=arc-20160816; b=cvThxqB89Vfep1Z40qL1c5J7qfX74AliMLNzApiezQsO291cUIsQS8tpnqHGZYGWpy xIbWBjzi0ua38QGqSaHqeIGCSCWlSTO3qfuWT4a1QxADDvL4dNce1ZNRlW0+qg1L7tX2 KBfHat2ZIvkdMObRlIw5CrfYZpxpA0dYEAEvKpH+eF/sk8plWUZFX79QsPH8tETHI8mH 3cLrPeHCH+/1a/L4WIzK6Y1WODiKtunGq1GbC4QzziQNsYluSOdxXljIIJbLyl3B8KJ/ ZwCSyzh7ZjxwXDv5gcpKuaPnQgqkIs09yKDEsh2XjTQznZSW2m8Us3AL/OGqNsed20kQ Gitw== 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=VQkqGwcki1Fc82Ff1ThtWjSURnniVA2kkOeX+QV0ne8=; b=RSXmOyhZwLb2EMX1vDTPGYNAb12RhOjSY7g3eA6AIqacpDodlgb261t5JSq40TQFDJ 55liED/UefZnZw2kbi27zb8GeiW8jXHPqqrPVtQ6LF58w34pEichTcPRcL5H3U9E/WyY rFwyqind9u7I3GC0xxp+eSAZ9xUraaokHaRagqevHBIYsnoZ2rIHE6bPCnIJTH4ACHs5 VUb3EliTopJ8GzHnirwldmpt7CnTfn3mnEBj3Mnyr0DSXwZ8iKfbXuEn+yCE9z73kW/V SROGiq+iy30tPKxkj9tmWs5QBhN4KAqkQ2cxJe5lM6Beazr3Ion9lB7pTwPCniE0tFkT ctvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Ed95+sCV; 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 q15si14244734pgh.714.2022.01.24.12.02.05; Mon, 24 Jan 2022 12:02:18 -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=Ed95+sCV; 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 S236896AbiAXTBf (ORCPT + 99 others); Mon, 24 Jan 2022 14:01:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344293AbiAXS4n (ORCPT ); Mon, 24 Jan 2022 13:56:43 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5AD7C0617B9; Mon, 24 Jan 2022 10:54:12 -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 ams.source.kernel.org (Postfix) with ESMTPS id 6CD81B81233; Mon, 24 Jan 2022 18:54:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9055CC340E7; Mon, 24 Jan 2022 18:54:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643050450; bh=acYIa2DHDSiyTToTyPnjGfQq3nXl/LCD7YZBPa9Qvbc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ed95+sCVgf3u0JemdpE3qG10G7OtOXzPxG+6vIlHVes4Mi7aRXeBLeXmGDFpAFdC/ 5knPvhW9VgO4KK0f1BnKqdQI/LEHCKXyGP1IsEGVpeXabfE1BZphmHybuFfBySjEwZ vPXzz3zuw6RBrdLu2liK6a/F9osY4rmMYJ75ThHY= 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.4 093/114] i2c: designware-pci: Fix to change data types of hcnt and lcnt parameters Date: Mon, 24 Jan 2022 19:43:08 +0100 Message-Id: <20220124183929.981431091@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124183927.095545464@linuxfoundation.org> References: <20220124183927.095545464@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 1543d35d228df..6831883741215 100644 --- a/drivers/i2c/busses/i2c-designware-pcidrv.c +++ b/drivers/i2c/busses/i2c-designware-pcidrv.c @@ -53,10 +53,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