Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3555986pxb; Mon, 24 Jan 2022 12:08:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJxsYYHdnQXp6wgl0dFsZhtwFPKHdwA6gBSEpvKJEIe+wbPQG6w8AfgWK6xdVgCspq4KLez7 X-Received: by 2002:a17:90a:bb13:: with SMTP id u19mr3518355pjr.41.1643054889323; Mon, 24 Jan 2022 12:08:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643054889; cv=none; d=google.com; s=arc-20160816; b=rVkwY2gA2UFs2QwK9Afs2XH7n/ph6Q5YosOWq4K/JQwD0uYZaBeW6H/tgsMCfn0Ysq c8Q/SIMbVm6I3N+YRgfv+q8aHohp7vbFgzmSSjm+qtq/JugmJZfOMKHI0oncFiuOB/DC sIA2HTSqltPezjOGrHme1+LpOiEKRjLu2m78DFE7iduDgAO8o9SktU/QZTdz2CXGDyfw boGNXrmUlUNygPdSVtrz1ZZQj/qWZ5xx9YitJtCn+Y4NcdnBywSdCMQ4yOFBSx3rUhIU ikxSu/vSr6OS/PNr62Msj+U7oDTs9YhsMypvh2YS6Og1n4xhLk/AfSqsrfy1rJSlAIf8 yqpA== 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=nZGs+XonDMikmC0iw8abUSclZtRb1p0sSxjcvgarSkg=; b=MPpgeVE7ZgjwTKSlnbKdp6gfj9GS3N/WMsrqPEcrXVgLaFDo2s5dLlB/z8nUcwN1P3 nRnwxT+1+azmuCfX+28zpqTBJ1V5aI5yRtFcXRyuF2iIytufoCJ7rmX3wE6GDjApZizJ 8kE+BTIGsZ+JOq0BTYt8uUsS6iBMB+tF5aALho+T1WOthz6qSVzeP/t66MiDaqZzgCPG idIlLzsI2eYuHRoJTx0z4kiBwY4FPDszC9PnkOzRh0Upqjz0sVuS0T37R1MFAySQuyF8 h2p0/DgXcjlAZbGNQ86WJfdJH/yTZE91b6OFHmlN/Up1cIDUWhLJXpVWOmG4xlPzXV+J LIDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="kJ866/vp"; 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 y12si13333078plp.111.2022.01.24.12.07.56; Mon, 24 Jan 2022 12:08:09 -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="kJ866/vp"; 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 S237865AbiAXTGp (ORCPT + 99 others); Mon, 24 Jan 2022 14:06:45 -0500 Received: from dfw.source.kernel.org ([139.178.84.217]:56912 "EHLO dfw.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345661AbiAXTAt (ORCPT ); Mon, 24 Jan 2022 14:00:49 -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 0224560010; Mon, 24 Jan 2022 19:00:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BB116C340E5; Mon, 24 Jan 2022 19:00:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643050848; bh=bpMBu5yH7MGhV8vmY6xchErCuexz35VkhDge5dgYqqc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kJ866/vpa0FkVCchhimFZmQQkjcD8EGMF9zdtkzs49/clyGnSgPy46/E3+2514fgV G18C2noDF3pZ4JIbjZ4faxNcD2E6fJg1vhYd+01lzNTqjkLmxFslprdTAA7udrjoeL W6YvmIICGSK8RCgmoUc53xkLQpjdD3X7bf5atTIY= 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.9 114/157] i2c: designware-pci: Fix to change data types of hcnt and lcnt parameters Date: Mon, 24 Jan 2022 19:43:24 +0100 Message-Id: <20220124183936.391505465@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124183932.787526760@linuxfoundation.org> References: <20220124183932.787526760@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 96f8230cd2d33..5c32a7ef476da 100644 --- a/drivers/i2c/busses/i2c-designware-pcidrv.c +++ b/drivers/i2c/busses/i2c-designware-pcidrv.c @@ -49,10 +49,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