Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3597314ybt; Tue, 30 Jun 2020 06:57:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/oavgFZwuWGEV0SLKi2c6OBlairUYQSrVcGTSp1AEzRpeFFUZmWtr9cAYfLJou9s+wsz2 X-Received: by 2002:a17:906:3b15:: with SMTP id g21mr17758848ejf.221.1593525437777; Tue, 30 Jun 2020 06:57:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593525437; cv=none; d=google.com; s=arc-20160816; b=KLQi1PKKBf1j0neTGoV7fSUbkEV6DttdlGbCoQzZdxLUk/vqk96eV//88MWSwFQmOW wnYynulPnkY+xwFEwyzZq2xRgdsKXL8yAUCuC6lEotnnNYN0lUovJXC8F9Mbi8cSONcW Sj/GyQcsa3N6D4BxPj0CYIF+HzBQNrxe1I2kooCyHVaN/q4sN/b+4lfiFGvz3uK5SV+g g2BwbwS/65ezQPzOhG0Yv7VvRvNG4qneBylgW2XBxIvXNCycoJt12RizeANxd++jRF+u oRDsl4/BQlhzcHG+V37qRukyi7+0JyXZtEengNY2MYi6+lRzZco4uD7HSaWyUTaoyzO3 ZCMw== 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=wkBklcgolThuSqx2B9FGDRJ2fQUF+10AbLJBzITnPbk=; b=CxWEcxPpekym+O+VvsEYh38jXvIAjsfoS8Fj763Qp1FyEPIWW8NrQHHhwehUc9iJYe JkzA+3sZ5p2Gu12mDDZaHiK7rRlqdFXRRnfnvfrh6tpsQ9q/8s7mkaYHH9LAg51szQ+p 47hUhhxjT83RNENyptgQ043Sp2taTXiCbod/6pLChYI6ZvLaK7jINvxFpubJU/WNPZ0T eJQIbMkuO5iCzmuQnvZanA2cUxICF0KGXP++2Z09Y3epAXGLUumNnsca7cx8422EYSur mKH0iEoWlMj2JTbLfNl+3VpS0YnZjye27Kdb2/+qajdXdo84edhZaIzjt2qRpocczNiK TX4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TTWz3kQi; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i3si1756896edy.403.2020.06.30.06.56.54; Tue, 30 Jun 2020 06:57:17 -0700 (PDT) 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=@linaro.org header.s=google header.b=TTWz3kQi; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732182AbgF3NwJ (ORCPT + 99 others); Tue, 30 Jun 2020 09:52:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388473AbgF3Nvp (ORCPT ); Tue, 30 Jun 2020 09:51:45 -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 26F12C08C5DD for ; Tue, 30 Jun 2020 06:51:45 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id w3so7224317wmi.4 for ; Tue, 30 Jun 2020 06:51:45 -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=wkBklcgolThuSqx2B9FGDRJ2fQUF+10AbLJBzITnPbk=; b=TTWz3kQiTzBuca298CfBMS58ag+bVWHWFEQdNDu9C1/PN/lY6EyJ+tgg5gFUVnhl5Y jlXcfraF1hxROmd3FRyUNLm3DWxMTagFU4Jzmxrjk03uYoJMBVmM50Fk17nCcENFff7l VpuFlVFptef5rsjSkbqRJOg16a9ZddGY/Btdr7e/BdQ435+Gu0zF9saFRJFU/VsYtbjH aKf4HahUOxW6bcYHyRwiuaWGgH2XQvgiqQzDVvnQVmDgZG7nM4/L3LYwLg8waw2y+3xB 1TlptulEwTSHjHG+aEC0qopP/o3e/sb+oK7NvFdiJXhd6uEI6ECNffztfSwHOK5IumFc orCg== 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=wkBklcgolThuSqx2B9FGDRJ2fQUF+10AbLJBzITnPbk=; b=qiJn0yt64a/oSSBmDOGPmwqNfUxgNHujHNQhawOuAflAaSFoj92HCDMa8+sUZFm1SO sXMhyc+qHSidy7+TQ5YcZb9IuTg6CGnd3MkWEHkUnQhBxmqGUX0U+9vXYrAupzDYgITX e+wd6b9z3pe8GWBph8Y/CpmhOZhYCHmny+qkVZ1pxj+6i9hxRYBEa2/y0ixB73ZjyLLb yPMReBcPms4RRXJrrrYrQ+Qr3EHCG2zOcyIpL5pqHPP1uIL4mzqpFuyzDfi/Gnb4Is2Y P0P6gr0j0TV4GljoUZmMwU/4gYHU5Q3HOiOmiT1d9JF9BS8kjWAkSF9D1oVN8szTbnBm UYaQ== X-Gm-Message-State: AOAM533zh0uoK4in1xJMrIsdivwzz5nicgBt8dmWyfLryGpZ/jJLrRN2 Mfzle3n4n5p4aDurFPsO6o/F8Q== X-Received: by 2002:a1c:1b90:: with SMTP id b138mr21475735wmb.21.1593525103867; Tue, 30 Jun 2020 06:51:43 -0700 (PDT) Received: from localhost.localdomain ([2.27.35.144]) by smtp.gmail.com with ESMTPSA id t4sm3876746wmf.4.2020.06.30.06.51.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jun 2020 06:51:43 -0700 (PDT) From: Lee Jones To: arnd@arndb.de, gregkh@linuxfoundation.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Lee Jones , Frederic Barrat , Andrew Donnellan , linuxppc-dev@lists.ozlabs.org Subject: [PATCH 28/30] misc: ocxl: config: Provide correct formatting to function headers Date: Tue, 30 Jun 2020 14:51:08 +0100 Message-Id: <20200630135110.2236389-29-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200630135110.2236389-1-lee.jones@linaro.org> References: <20200630135110.2236389-1-lee.jones@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A nice attempt was made to provide kerneldoc headers for read_template_version() and read_afu_lpc_memory_info() however, the provided formatting does not match what is expected by kerneldoc. Fixes the following W=1 warnings: drivers/misc/ocxl/config.c:286: warning: Function parameter or member 'dev' not described in 'read_template_version' drivers/misc/ocxl/config.c:286: warning: Function parameter or member 'fn' not described in 'read_template_version' drivers/misc/ocxl/config.c:286: warning: Function parameter or member 'len' not described in 'read_template_version' drivers/misc/ocxl/config.c:286: warning: Function parameter or member 'version' not described in 'read_template_version' drivers/misc/ocxl/config.c:489: warning: Function parameter or member 'dev' not described in 'read_afu_lpc_memory_info' drivers/misc/ocxl/config.c:489: warning: Function parameter or member 'fn' not described in 'read_afu_lpc_memory_info' drivers/misc/ocxl/config.c:489: warning: Function parameter or member 'afu' not described in 'read_afu_lpc_memory_info' Cc: Frederic Barrat Cc: Andrew Donnellan Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Lee Jones --- drivers/misc/ocxl/config.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/misc/ocxl/config.c b/drivers/misc/ocxl/config.c index c8e19bfb5ef90..e3b99a39d207e 100644 --- a/drivers/misc/ocxl/config.c +++ b/drivers/misc/ocxl/config.c @@ -273,11 +273,11 @@ static int read_afu_info(struct pci_dev *dev, struct ocxl_fn_config *fn, } /** - * Read the template version from the AFU - * dev: the device for the AFU - * fn: the AFU offsets - * len: outputs the template length - * version: outputs the major<<8,minor version + * read_template_version - Read the template version from the AFU + * @dev: the device for the AFU + * @fn: the AFU offsets + * @len: outputs the template length + * @version: outputs the major<<8,minor version * * Returns 0 on success, negative on failure */ @@ -476,10 +476,10 @@ static int validate_afu(struct pci_dev *dev, struct ocxl_afu_config *afu) } /** - * Populate AFU metadata regarding LPC memory - * dev: the device for the AFU - * fn: the AFU offsets - * afu: the AFU struct to populate the LPC metadata into + * read_afu_lpc_memory_info - Populate AFU metadata regarding LPC memory + * @dev: the device for the AFU + * @fn: the AFU offsets + * @afu: the AFU struct to populate the LPC metadata into * * Returns 0 on success, negative on failure */ -- 2.25.1