From patchwork Thu May 20 19:00:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443315 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp253036jac; Thu, 20 May 2021 12:01:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNmQQlCbDa9eSM4rdeFJSu1pw8tC8hyQcfztni70SP5A5Fakjb6EaAAoMSBwUvHOgkX6Ew X-Received: by 2002:a50:ff08:: with SMTP id a8mr6378510edu.46.1621537292658; Thu, 20 May 2021 12:01:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621537292; cv=none; d=google.com; s=arc-20160816; b=hQG04jtnHiKYz4dUKw3Wb3ZpPVlGanTKARjac4+a6CPjJvCt36sx/wi9R2qeN0F5kC kgERvmF3G9wy2BYbF2roO6YabprVb0RU9K4usn5g2tBiHdYIWju9BAbkWzVqVolDwG8a EdF0JuZF4/Z9qVfQV3le3hAXz5FWFlDxI3Aew4IvnzI/TGuU1OKq6xJ5i6gKE4DBG+pi 7qHvbCFdi+7XITu1Dl/a60dWED/4xELIEAJCi9NiZCzc3QjhNlyiczAdlfnkUVJgeX7T mgp14XhJ8dEoP2w2HmHcLWLOr/mA9emRPqC36iw29bc36qYXigPs9P9wOGHjSKHpkt26 iQHw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8RN24loetVCGfbRYoJL7dvb31oLr87M1dl06DygrN7A=; b=WxXUvNN8Q1NXiLQMeigked88N1JgOXik0Qsraesbs1gUB/AiFXIS/wZKuzpBHb3mUc riJ9Hxip2w0kQXJonpHCcz9jEIiqza9hFmYXmfvc+dFjUrtkfoXvfIr8ieOdq5xADysx 45rpKoRx5Ei3gmAyR8ldzTbQN+zlMPj6ibv/leY3FGddfhZfDtDzZXhgI5J/GbBFLukV yhb8f7BuMuBSDn7ocXPv/ix/Pwa/04GGUbbHFkfo6M5kMBibsJUpFQwHG7GFenb9/sv2 p4Dqkjin+bgoIAPz0UhmnEGp06DXgzU1CJki5b7jFc8zilLen8dTez1jmMZfkRE52zQm xZOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fJjWAxmp; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hp35si4084798ejc.361.2021.05.20.12.01.32; Thu, 20 May 2021 12:01:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-i2c-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=@linaro.org header.s=google header.b=fJjWAxmp; spf=pass (google.com: domain of linux-i2c-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-i2c-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237257AbhETTCs (ORCPT + 2 others); Thu, 20 May 2021 15:02:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236775AbhETTCm (ORCPT ); Thu, 20 May 2021 15:02:42 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F20EBC061574 for ; Thu, 20 May 2021 12:01:19 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id n2so18797597wrm.0 for ; Thu, 20 May 2021 12:01:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8RN24loetVCGfbRYoJL7dvb31oLr87M1dl06DygrN7A=; b=fJjWAxmp5AzE7WH5LUpXOh0nYHestzcUBTRqFX99818kVDBaG5rBhoR7oPfnpA1e19 aU1ebFxUxUdOR0QZ48gKVCdNeivmC4RgpVSFyy7QSe+HLjr2m+/AojVrlqHS0HD7GiOx dHZW4OfY7ZBekCn6UcogEh5psuDPj3vyHmdSiCh/b0yA7UTAroYxBPkB51G7Es9JtVsK jr7NIgLKuEcVkFEf+iO+pNM3d7eb1SDXNZBPPEKr0ho5i3oWbjMgo9RN7kCNTdAcMXg3 2yBIi0d0K5hLYrdjRc6hFDs4uRewsKbq0E6sBCuBSoKHaELcHbSyP8IpgP1mcJMpRiVU vq2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8RN24loetVCGfbRYoJL7dvb31oLr87M1dl06DygrN7A=; b=oNjejVpj//csxdxxuygy5G0SUVNe+YgLQS/oQ4GyGJw1qwV+Z01+7X5k7KTe8Ggftw XtjaIVzGZDwUbNeEM44rJndgczUD1nUE+y3cbbTb/SVmwaarWDj4gt2RPSiDmUv3PTLF 09wzA0EKREHvq/bRzdBCHlOqkoDnyGJpVLpoXvYOxQI649DullYP2Upug+RIj3Jaclxs HmV1ypA0kA0I7grFUVEV4vE1SxDrM84Uq7V+3CeDfsFp1y2EsYQqThgTDrZAMMJZZ3dg 4QtYx05BMhkjTCUVBOQuaFkUMHK+Xduahmcm59oPseUYwii5tE9/m1Z9t65YpAbF/0X5 yBdQ== X-Gm-Message-State: AOAM533sCMRczJXqAqBruHfLPQ/2aeVE/nsiuTMTA2VjePyx+Q7fGgwm lCmLWY4CRIiaYY6UcCiaJSOnpfHO1oD92z2f X-Received: by 2002:adf:ee0c:: with SMTP id y12mr5802664wrn.335.1621537278557; Thu, 20 May 2021 12:01:18 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:18 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Wolfram Sang , Vaibhav Gupta , Tomoya MORINAGA , linux-i2c@vger.kernel.org Subject: [PATCH 08/16] i2c: busses: i2c-eg20t: Fix 'bad line' issue and provide description for 'msgs' param Date: Thu, 20 May 2021 20:00:57 +0100 Message-Id: <20210520190105.3772683-9-lee.jones@linaro.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210520190105.3772683-1-lee.jones@linaro.org> References: <20210520190105.3772683-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/i2c/busses/i2c-eg20t.c:151: warning: bad line: PCH i2c controller drivers/i2c/busses/i2c-eg20t.c:369: warning: Function parameter or member 'msgs' not described in 'pch_i2c_writebytes' Cc: Wolfram Sang Cc: Vaibhav Gupta Cc: Tomoya MORINAGA Cc: linux-i2c@vger.kernel.org Signed-off-by: Lee Jones --- drivers/i2c/busses/i2c-eg20t.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.31.1 diff --git a/drivers/i2c/busses/i2c-eg20t.c b/drivers/i2c/busses/i2c-eg20t.c index 843b31a0f752b..321b2770feabc 100644 --- a/drivers/i2c/busses/i2c-eg20t.c +++ b/drivers/i2c/busses/i2c-eg20t.c @@ -148,7 +148,7 @@ struct i2c_algo_pch_data { /** * struct adapter_info - This structure holds the adapter information for the - PCH i2c controller + * PCH i2c controller * @pch_data: stores a list of i2c_algo_pch_data * @pch_i2c_suspended: specifies whether the system is suspended or not * perhaps with more lines and words. @@ -358,6 +358,7 @@ static void pch_i2c_repstart(struct i2c_algo_pch_data *adap) /** * pch_i2c_writebytes() - write data to I2C bus in normal mode * @i2c_adap: Pointer to the struct i2c_adapter. + * @msgs: Pointer to the i2c message structure. * @last: specifies whether last message or not. * In the case of compound mode it will be 1 for last message, * otherwise 0.