Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3578056pxb; Mon, 24 Jan 2022 12:39:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJzmsYN/grv+GQoXmpl85nB0dcnOCTm3XRlf5fTdCZigCcwDAblIWI0Bc/pOpkevwEiLmFvm X-Received: by 2002:a17:902:9046:b0:149:6fd4:4928 with SMTP id w6-20020a170902904600b001496fd44928mr15953685plz.135.1643056799553; Mon, 24 Jan 2022 12:39:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643056799; cv=none; d=google.com; s=arc-20160816; b=fG3sGoDn9i4XtcNr2ardbsb5tC42iD452Ak8WqOZrwbcdJTij6yElo4w9CMC07l49z 5s/+s1b4l1y+grlC2bOY4Y+YN9JeTwNesGkptRvX4CPLcikdvhf+ao4g3o97JQnGD2V9 N6EGSWkWtkVxCs4w5oeDT5lSHEpcjk3jOLbuyc5nCmFvHjkg3Ucw0ZmQuaKiGf7vtH+V K802q7+cW/edsQFAsStNjUGbkXw6Ez6+LX1o2Yr0BgbpC9I/ZA3f7cKN0G0b6ty2DQaf d++WMFVDRXkGRtzHrNuopjZBLRQ3BuDTd6A7CQNpXIFdpTXK7UScfUsOVvqSj2iAODog eGMQ== 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=rVP5eOQZfdGXg96MjfK2D+iecsLc/eDgFEBBrvsk/c4=; b=adfpOjNZ2m5gqYmPXejWtliSr38dcNw3luplqcMNmk4e3ztjWRLEftt46+5whm1FsE eibQvTFcsrmRGLY4uwn+HwG/GF4gjUzeYoUPrccvlJ1eCdKWhm+UYVUL6vHInPgw2dVw OJC3X8wjawa1zhKBAys7QrUyBQupTobMWq9MM2J/hu5dpHwKOFWKEpm/hCs4FSQyuYPZ Wi0q9lhoSCS+7EZAcDpE1W/6RcNHv/ZEoEoH0fujehB+D4gmS9a847/8/HopL5+oKaoA BvYYd4UlBpBnBbuaLUTiFWdOfSKk82BKXRbWL2t0K+rf1HDLeuoTDfvQH7wZvW9QJRqV zz6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NZjy21PM; 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 i4si13025460pfr.238.2022.01.24.12.39.36; Mon, 24 Jan 2022 12:39:59 -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=NZjy21PM; 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 S1348395AbiAXTws (ORCPT + 99 others); Mon, 24 Jan 2022 14:52:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344119AbiAXTmE (ORCPT ); Mon, 24 Jan 2022 14:42:04 -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 62D9FC08ED7B; Mon, 24 Jan 2022 11:21:43 -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 2AAE1B811F9; Mon, 24 Jan 2022 19:21:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5EE5CC340E7; Mon, 24 Jan 2022 19:21:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1643052100; bh=Lnom6LnckZNdK5Md7AfhpynDWEz288hE0TFhXJoixF4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NZjy21PMEgm2npwtewDk8SC6egkU2ziG1P36bn4hffw5PA0E67DX0nAsF+KoLkqL5 qXqTlHZLGZ3+jYnWgEATtMCnidVmJ/2e+rMdcad4wxdSlIID0DteNcnS4dlFmTeHmD vJLNnPtUmdurbe69cGsAqbdLwQXdlmAyIpOpnwAw= 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.19 190/239] i2c: designware-pci: Fix to change data types of hcnt and lcnt parameters Date: Mon, 24 Jan 2022 19:43:48 +0100 Message-Id: <20220124183949.154249958@linuxfoundation.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220124183943.102762895@linuxfoundation.org> References: <20220124183943.102762895@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 d50f804872149..4e6b3fb01c7a6 100644 --- a/drivers/i2c/busses/i2c-designware-pcidrv.c +++ b/drivers/i2c/busses/i2c-designware-pcidrv.c @@ -36,10 +36,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