From patchwork Wed Jul 15 15:06:19 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 235591 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp702421ilg; Wed, 15 Jul 2020 08:06:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfMyG/sfZL3wcesXHtmXVsGLuRQqFVt+m8yYHCchHKmdIC8/AfIY1+DwL37Tngh4cfqalf X-Received: by 2002:a50:d0dc:: with SMTP id g28mr40203edf.169.1594825601344; Wed, 15 Jul 2020 08:06:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594825601; cv=none; d=google.com; s=arc-20160816; b=J2KRMRrAMASQCoGmCzr6RKTjCr07BB/m9SHfUxawnU55mdgf5aeKtCqGBcCJukHMR5 1JFAHEtz1GNETVTCjL3xkP+iE7OHmZXcUemJp06U1JuWA47hVdKqupE/kAOyBqE7LHv3 KLhRrhCDU7WgB8GAb+ppUSq19Sd2aJsSYSOgUt1/brbuRANeatMtDJHmATkHIsRX921q w3IaEQzPqbrNy1un4pfXeJKfO3YUPtM7Yjo9cyTpzotR3ifN1N4017CErift5MIEF4Ox hafR1HK+nrK5J53Lvp75Xj+hGXQ27wrp8ZAZDLb0Drsn8UWNLS1g1v0vwHbDKPeQWPxy f1mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=KGFwubHFzcLZa75OH2QfePfgNHp1yNFJ+5dMrYJqOBc=; b=dafY4VjdV8iuj98OfOaFGD15FQQxfPwpAlmkXX4OPg+u6cqk/BJoMoXl3JwdKM+8EF XVYGvATYsJiEDaejUhfm7HXC11lWgPAECi/xAQvuRXXVDY03Fw2m76DnlyCJXDTsjmD5 7SReJ+f388H5Eki6/SR+HBMqkRbYSeUpahi9XjL2VtIQXk9ADDk5je2Z8tfNvcQfOYMB a/Ya1InrOI3WDpO95DFMy2iaXTx+407eiXzh/MWdFOCYuN025X1piWRndQ3HYyv6wKXM 0REH9EKaEObyT3h5oxU6D16cw7YhWspIcmUEIwx8b5Zd+VuIwjmmmK5JdHEZPRi7DL7i P12w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GJNtHxOO; spf=pass (google.com: domain of linux-spi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-spi-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 e22si1444535ejb.66.2020.07.15.08.06.41; Wed, 15 Jul 2020 08:06:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-spi-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=GJNtHxOO; spf=pass (google.com: domain of linux-spi-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-spi-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 S1726479AbgGOPGk (ORCPT + 2 others); Wed, 15 Jul 2020 11:06:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725811AbgGOPGi (ORCPT ); Wed, 15 Jul 2020 11:06:38 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5E54C061755 for ; Wed, 15 Jul 2020 08:06:37 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id c80so5943197wme.0 for ; Wed, 15 Jul 2020 08:06:37 -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=KGFwubHFzcLZa75OH2QfePfgNHp1yNFJ+5dMrYJqOBc=; b=GJNtHxOOPRZtWeTHohDWQFHqjfvGxwnNJdz6voIjChor1Ex7zIh4RYKL7WWFAzR67l f7K6Mns+x6QufGhR0YGwcwSB6Ksx1+20gB3D0ECOxU5kJQGoqjY8exCJTAt8dQkkp3es KBfkVws4SnYAGHAmAiNEENKUgAG1i+aKYJjtbRNcMGdddULPquE6SyXgXnJMWKLw3ESF qAiZll4KqluNRYd8wNJwHDavMEF6i/6Yw2Ywx+6HqNXeMzoIymgEW3MHNV0mpfIhR9qG qCXTeImq1wgSxS2sBsd/telggQixF4aMfmSfSnxUZK5dN1xRAf/sqplOCqD1E6kuaGjW hUyQ== 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=KGFwubHFzcLZa75OH2QfePfgNHp1yNFJ+5dMrYJqOBc=; b=drTfjdtvxp2OL0TS1prvAHXiSlBnCwdBUPHgHErSoCU7ZIeAPkoT3d3M+RvfWwA0kt H7bIm0EnR12rqIBvRWU3D0h8DQv3SireHhxHCjM1O00/UBoRVxYycWh9U516yluPqz8b uB/ZFxYzaLGZEhmJUo+HFR6i5EMEyOiIRlp4OzDnDr00bETk0Pav7pAbKLzCkIUZbXJI U77P6/o9/bqXAsxFItWDPVph9MpCQhdK69HhaXt0MY7i2RIQ7w0Z+Opq3b8/DRX6PEtM T1admMe/VPSpwJQdm4Rb6i8kxY8j35s8yDTZsyBZvEg+aPDLdC6+n2MP4gxW/vBybbVh NNtw== X-Gm-Message-State: AOAM532PprERUYEXUWYIqZHEpJ8MXxvNtSrgGvcaMjrtS2+xM6E00ouv alnmL6OKC8u/GFYpsJhBlmWsJQ== X-Received: by 2002:a1c:e285:: with SMTP id z127mr9115336wmg.162.1594825596325; Wed, 15 Jul 2020 08:06:36 -0700 (PDT) Received: from localhost.localdomain ([2.31.163.61]) by smtp.gmail.com with ESMTPSA id w2sm3906140wrs.77.2020.07.15.08.06.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Jul 2020 08:06:35 -0700 (PDT) From: Lee Jones To: broonie@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, Lee Jones , Martin Sperl Subject: [PATCH 01/14] spi: spi-loopback-test: Fix formatting issues in function header blocks Date: Wed, 15 Jul 2020 16:06:19 +0100 Message-Id: <20200715150632.409077-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200715150632.409077-1-lee.jones@linaro.org> References: <20200715150632.409077-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org Kerneldoc function parameter descriptions must be in '@.*: ' format. Fixes the following W=1 kernel build warning(s): drivers/spi/spi-loopback-test.c:897: warning: Function parameter or member 'spi' not described in 'spi_test_execute_msg' drivers/spi/spi-loopback-test.c:897: warning: Function parameter or member 'test' not described in 'spi_test_execute_msg' drivers/spi/spi-loopback-test.c:897: warning: Function parameter or member 'tx' not described in 'spi_test_execute_msg' drivers/spi/spi-loopback-test.c:897: warning: Function parameter or member 'rx' not described in 'spi_test_execute_msg' drivers/spi/spi-loopback-test.c:970: warning: Function parameter or member 'spi' not described in 'spi_test_run_test' drivers/spi/spi-loopback-test.c:970: warning: Function parameter or member 'test' not described in 'spi_test_run_test' drivers/spi/spi-loopback-test.c:970: warning: Function parameter or member 'tx' not described in 'spi_test_run_test' drivers/spi/spi-loopback-test.c:970: warning: Function parameter or member 'rx' not described in 'spi_test_run_test' Cc: Mark Brown Cc: Martin Sperl Cc: linux-spi@vger.kernel.org Signed-off-by: Lee Jones --- drivers/spi/spi-loopback-test.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) -- 2.25.1 diff --git a/drivers/spi/spi-loopback-test.c b/drivers/spi/spi-loopback-test.c index b6d79cd156fb5..9522d1b5786d5 100644 --- a/drivers/spi/spi-loopback-test.c +++ b/drivers/spi/spi-loopback-test.c @@ -885,10 +885,10 @@ static int spi_test_run_iter(struct spi_device *spi, /** * spi_test_execute_msg - default implementation to run a test * - * spi: @spi_device on which to run the @spi_message - * test: the test to execute, which already contains @msg - * tx: the tx buffer allocated for the test sequence - * rx: the rx buffer allocated for the test sequence + * @spi: @spi_device on which to run the @spi_message + * @test: the test to execute, which already contains @msg + * @tx: the tx buffer allocated for the test sequence + * @rx: the rx buffer allocated for the test sequence * * Returns: error code of spi_sync as well as basic error checking */ @@ -957,10 +957,10 @@ EXPORT_SYMBOL_GPL(spi_test_execute_msg); * including all the relevant iterations on: * length and buffer alignment * - * spi: the spi_device to send the messages to - * test: the test which we need to execute - * tx: the tx buffer allocated for the test sequence - * rx: the rx buffer allocated for the test sequence + * @spi: the spi_device to send the messages to + * @test: the test which we need to execute + * @tx: the tx buffer allocated for the test sequence + * @rx: the rx buffer allocated for the test sequence * * Returns: status code of spi_sync or other failures */