From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C664DC433B4 for ; Thu, 20 May 2021 19:01:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A526961279 for ; Thu, 20 May 2021 19:01:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237003AbhETTDB (ORCPT ); Thu, 20 May 2021 15:03:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236734AbhETTCm (ORCPT ); Thu, 20 May 2021 15:02:42 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0041FC061761 for ; Thu, 20 May 2021 12:01:19 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id p7so14985985wru.10 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=kStvTO8s6q+1nODoeQkYUru+ud/QydWCT8wN/hFTRMfnySyKfjcrT2PwK7bauk6VPG rng4+rdSmRutQd0NOWMz5q9uwsbywGB89zuy3gY4nevB8ZBWR4Vc0g3+90dBiyV+6nFc ACfJz3maLng8E3UyvVKX3OQlyXPyFsdjlhcLXTGPAoMgh0HD6YrfyVkgjsHIw8RyZ5Zv WxTWjf5CURcC9c6BeYWubNq98o+U5VLWZnvlMNTmRH5yIf3jdp2O67KKflngPFPIZ8lV XyCO2JO1GcOCIbgFG9RAffE5o3rQiiooddMJkL+8pd7ixxHapgAIzmSm52UFverR9mMR PnlQ== X-Gm-Message-State: AOAM532AmxuDWJQHjTOKkqf2zbjRElP9Qe4GLWNN/TKxbowbHc2TklWZ jCv0bFyZpNjzfU89lD9j+LyI5Q== X-Google-Smtp-Source: ABdhPJyNdxpH7X7Jk2MzvKRyg3+v76QsMGN1FJsGZc0DuEkpXKT0MhsC9zFwwfYe4C4YT6iF7z7kGA== 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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) 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. -- 2.31.1