From patchwork Thu May 20 19:01:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 443323 Delivered-To: patch@linaro.org Received: by 2002:a02:7a1b:0:0:0:0:0 with SMTP id a27csp253454jac; Thu, 20 May 2021 12:01:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3ohgYEQR18StyR+XpRUvPahunQNSfg4fAKoyjUAuJfcLM0s72lQbWGlZxhI4jOph/ohbj X-Received: by 2002:a17:906:6042:: with SMTP id p2mr3990767ejj.244.1621537317378; Thu, 20 May 2021 12:01:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621537317; cv=none; d=google.com; s=arc-20160816; b=ErB/38ZwRd6LjFitvY1X+GYP+NPwtFa8IR0bB4cxujfwnbGhy51pBa02lzDJ8u70Fo cJT3nW3tEJoJT9afv+2rLzQ6IKl7RF/4o3k9D72ORuEoKHA9O7eXmXIsn8lFfOBA0dpA 1f2vBBQPBf1RKO2kVH3jaTEGBqCW4pr1MBvXzfqLJ/0+K8U/fo5KOFVtn896TGcbxM9R sz10zFKG4nSagfnG3lUdwzAfS/3mX6erv5jy4UMYAua8YEN39KlwdsHuH1aPPjEg/ipq YLi2fzgpMEc3a/9tFzI0UdC/Y9dvV6tTXqsqbUxhml5wvrPCLQ9SlQnbSExTGm2fse8P mGaA== 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=tw5+56hf443Vf716IbHMHHdpmu0BDAxPT8Nh8kodesg=; b=XI0emROKtmwsMJD0PtTh8ltdFDtxxKzO9iHX7rP3LTrVIGV1oUA01IDIbT1RGZgyfo aICuRthIq5CEAlVkexa1C4y2EzHgr9wC0A8XFRuLQl6HBsgnuRMNC/w7ibBrNAsn2Qhq hIcrY5EsTjoZpZU/+FEpV1I3uifOAfI1S4i//8aGYJWIvRCkQAycHKmErlW4sqgUI+Ho kxKllNgYKlZvIiYcg3689feoZNWYRG5un5XyVGMYTgIGDSC/STnWIwIlVa9pToARwBt9 CLcVemo/WMo5BbpjaeE4LdxkQKA5D3/OQ+/K7rxCHSuEwEVlt1lLdGNr3Lms0E5XjXuh Ug/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Givmf1V6; 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 kv7si3142943ejc.678.2021.05.20.12.01.57; Thu, 20 May 2021 12:01:57 -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=Givmf1V6; 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 S237957AbhETTDR (ORCPT + 2 others); Thu, 20 May 2021 15:03:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237406AbhETTC7 (ORCPT ); Thu, 20 May 2021 15:02:59 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8163C06134D for ; Thu, 20 May 2021 12:01:27 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id j14so16978323wrq.5 for ; Thu, 20 May 2021 12:01:27 -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=tw5+56hf443Vf716IbHMHHdpmu0BDAxPT8Nh8kodesg=; b=Givmf1V6oT1LmtODaR0j3BF9pMsQ54O30msgDTjz7pvVA/XDtAe7u82QqmdHSrtdV3 23eDMfT5ksUeQ3nHWPc1FcZBBdl4vIOADI6UkN0O5kkhmFATRxM+zRjt8faNhtkLOKrS Dz0CI9XtvLf74IH1RVlKINeSIDXPpD/pcWlOasO4P6YKoASUbtKnZjtPfvuC764a/8k9 ETlitj6pk/BcxCOc5EaZV7HzWvFpyRGBh1ksUccRZeSbGA2ZkqavF520eOUzmLOJFI0t +9zL88+ZQ82w90NJKyC9XJY8ZibQZbjHBKyCjUuPw2LxhE99ISFz7INQy7TFYtmpEOE3 QXhw== 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=tw5+56hf443Vf716IbHMHHdpmu0BDAxPT8Nh8kodesg=; b=oojgEmiYnyfgCHne88lQznYcfboz/5IEfHRbWl+doLNGUYlKoY3TGcnCjGql5Krlky uwHr66/XMicWeVm+jHzZduqIplHliaXsJ7NgaB4EyRF4ilc+c6pJPVA9qeecCB7d0SZO CUreVjii5ti1y4KNp8lHmsz8cuz+VFwugnl0O8Ac2THCgGyH+CicaJlmq49BqugMy4DA fB4JYn68S1V8m0XO6tOp/gUzWLEe+Oo6ImY/0RbR/TtOidBf93R17ouu/49YxySoBU/X lMxvzC+bYRNeFvblpMweAzN/nJKpC2T1+kHUrJiv8bf9YRUPl/ycNKRMxyTybEVN9R06 6mRg== X-Gm-Message-State: AOAM533LyBfGwJxbBUGa1P9Vcc45SUE3PS1o10rqUqrdB2oHa80cIIEO Jn4BiwJLSD+k1MlRMDpdFDKYtw== X-Received: by 2002:a5d:6b43:: with SMTP id x3mr5750647wrw.263.1621537286301; Thu, 20 May 2021 12:01:26 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id p20sm9011899wmq.10.2021.05.20.12.01.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 May 2021 12:01:25 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Thierry Reding , Jonathan Hunter , Wolfram Sang , Shariff Md , linux-i2c@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH 15/16] i2c: busses: i2c-tegra-bpmp: Demote kernel-doc abuses Date: Thu, 20 May 2021 20:01:04 +0100 Message-Id: <20210520190105.3772683-16-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-tegra-bpmp.c:86: warning: Function parameter or member 'i2c' not described in 'tegra_bpmp_serialize_i2c_msg' drivers/i2c/busses/i2c-tegra-bpmp.c:86: warning: Function parameter or member 'request' not described in 'tegra_bpmp_serialize_i2c_msg' drivers/i2c/busses/i2c-tegra-bpmp.c:86: warning: Function parameter or member 'msgs' not described in 'tegra_bpmp_serialize_i2c_msg' drivers/i2c/busses/i2c-tegra-bpmp.c:86: warning: Function parameter or member 'num' not described in 'tegra_bpmp_serialize_i2c_msg' drivers/i2c/busses/i2c-tegra-bpmp.c:86: warning: expecting prototype for The serialized I2C format is simply the following(). Prototype was for tegra_bpmp_serialize_i2c_msg() instead drivers/i2c/busses/i2c-tegra-bpmp.c:130: warning: Function parameter or member 'i2c' not described in 'tegra_bpmp_i2c_deserialize' drivers/i2c/busses/i2c-tegra-bpmp.c:130: warning: Function parameter or member 'response' not described in 'tegra_bpmp_i2c_deserialize' drivers/i2c/busses/i2c-tegra-bpmp.c:130: warning: Function parameter or member 'msgs' not described in 'tegra_bpmp_i2c_deserialize' drivers/i2c/busses/i2c-tegra-bpmp.c:130: warning: Function parameter or member 'num' not described in 'tegra_bpmp_i2c_deserialize' drivers/i2c/busses/i2c-tegra-bpmp.c:130: warning: expecting prototype for The data in the BPMP(). Prototype was for tegra_bpmp_i2c_deserialize() instead Cc: Thierry Reding Cc: Jonathan Hunter Cc: Wolfram Sang Cc: Shariff Md Cc: linux-i2c@vger.kernel.org Cc: linux-tegra@vger.kernel.org Signed-off-by: Lee Jones --- drivers/i2c/busses/i2c-tegra-bpmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.31.1 Acked-by: Thierry Reding diff --git a/drivers/i2c/busses/i2c-tegra-bpmp.c b/drivers/i2c/busses/i2c-tegra-bpmp.c index 3680d608698b1..ec0c7cad42401 100644 --- a/drivers/i2c/busses/i2c-tegra-bpmp.c +++ b/drivers/i2c/busses/i2c-tegra-bpmp.c @@ -65,7 +65,7 @@ static void tegra_bpmp_xlate_flags(u16 flags, u16 *out) *out |= SERIALI2C_RECV_LEN; } -/** +/* * The serialized I2C format is simply the following: * [addr little-endian][flags little-endian][len little-endian][data if write] * [addr little-endian][flags little-endian][len little-endian][data if write] @@ -109,7 +109,7 @@ static void tegra_bpmp_serialize_i2c_msg(struct tegra_bpmp_i2c *i2c, request->xfer.data_size = pos; } -/** +/* * The data in the BPMP -> CPU direction is composed of sequential blocks for * those messages that have I2C_M_RD. So, for example, if you have: *