Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1584756pxb; Fri, 6 Nov 2020 13:39:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJwP7hfBV0tOTeWI1oeHJK4YdpqvTule+CGMHSicA7n5CzKE/cnlDOJ/3BgwAYERErCVeEby X-Received: by 2002:a17:906:ca83:: with SMTP id js3mr4291859ejb.42.1604698796060; Fri, 06 Nov 2020 13:39:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604698796; cv=none; d=google.com; s=arc-20160816; b=J8USpGAwS91lSHMdwU3XDpkn+bNxQD9R8OD5Fni9zQyh5A9uzJo0uD18wt/Vyw+C7S W9buKHYd3zbI+Fmoh8EQVDZ2yJ/fRu3gU5SEdI0Dbn0soK+yiLcazJw4hLBrrhF4z9PR Jp2t6Wdc6oWR1WHav88tG9LHxEt1/r2NeTzPO4M3nbaB+7eFeRKfX9/c7gpUXXuqqzIK vVHuDyGwYj/yfZ/+v5eX25F0csr4e+MDJFsQQyJkQFCj1h/p3RqoBLtDP/pmUtSMnNMx iUjkMZ7xZG9o4hCqDZAXaY4WNPXdPmjSYQ5VPCcGoKHBCAYxHX4YnKNNAGtgEXa2bp3P J45Q== 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=ynyF2LluxBEO2JLmlcMvxixiCa/MBQSn7HUEDQ95Ad8=; b=RMMGf9Pgr8ZDNEjdPxTAEz0CyKYJX9YeEJHzDUkNJdNdfcfM7jJ+94udbdBua931CC JhVo47iPu6xzyXy6UQPFdGSsjHQCPNBV86N8PPwM7t5LayZLLC8zBbOJzw+BROlq7H4T BtdT5EJQtWg5fp88xaMgRhP5jtDIA0egKDxl8e8flnBQ3CiSib8WoKhWBi+dnWUsx8nv Bug6OSnVn8kFAmvZEAzSZgJOeMXHOKXuEJD0zoPF/xbHdkGXp1+TC/hlj949zNKNw7u6 var7pCLpTP0vLOFTVjSO7Y3DxZgTxBeet8Suj7kSs/z1xS/Fi2HEJiEU9vO4foDlyAEi qrEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sJW30ndV; 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 b26si1804437ejd.476.2020.11.06.13.39.33; Fri, 06 Nov 2020 13:39:56 -0800 (PST) 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=sJW30ndV; 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 S1728668AbgKFVhr (ORCPT + 99 others); Fri, 6 Nov 2020 16:37:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728591AbgKFVhb (ORCPT ); Fri, 6 Nov 2020 16:37:31 -0500 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 D9DCDC0613CF for ; Fri, 6 Nov 2020 13:37:30 -0800 (PST) Received: by mail-wm1-x341.google.com with SMTP id s13so2634411wmh.4 for ; Fri, 06 Nov 2020 13:37:30 -0800 (PST) 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=ynyF2LluxBEO2JLmlcMvxixiCa/MBQSn7HUEDQ95Ad8=; b=sJW30ndVh1qGXkUaw3pZaZEjF2ef9gfmBHcrLUN8CKyAoBZToeJQQGOgveJ9pOnH9G iLnj25fAUb5CHE4pzNXFTP4bhMNeVU9zyQDF1cWEHGd11k8kQJFQMEHxT3Dl1zjar9i1 fLeGKBfoVm5SSIuvPhaI1FnA013nnfZJ8yjEL9YynAZGNTKmaaPzx1Z8entolXVdwDXF CpfAG963D1ALbbrNpXiYanN/0p8rW8kbDmkOIfYRs2zp7QT0lXC2BhMYgEqAXpdrHyfE U/pK0fH1kVdmS6ynQhtxJ6E8bO3EBpBdOD+PU9rYMIdej1Dw7doRpC+V18xrgEa4Q7rq 2Adg== 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=ynyF2LluxBEO2JLmlcMvxixiCa/MBQSn7HUEDQ95Ad8=; b=We/WFKkBIz89tsfD1AO07vgrCJeueT5KGwUTY8v4YNCJRmzcfZKmdk4Po1/1jEerDI K5gEw2fPt25ODzDeQiW3uMHlDhla93pvk3l7dcz52RsHVEQfpVxfBEf5pbhlIFboyOee IOIqSLvHQHDActRwlappaxMnAEBcLPQiLbCqDBLJSTOss562c1bhJQdgOgxqMjrVEx/3 BRrJ+7SoxbZU8qGzBjVW+ITVLnBbSAoRqfIFEKAN2r8k6vN4jeNbfzosg6fNRQ7X0jhI advXviy4dHRHBbqx/qED1tNZbatEYPgkwo0hTLS6W2efP+j/MeJd+Xbi/gghbDtcRSaC m6iA== X-Gm-Message-State: AOAM53196S2WcGV/AdxgAcdNlNoISDtAem8PkcRN8SUIHaSIZXMeNsWE n/1o9nPFfh0B5B1Cz0A+2m4kFw== X-Received: by 2002:a1c:3803:: with SMTP id f3mr1574214wma.14.1604698649574; Fri, 06 Nov 2020 13:37:29 -0800 (PST) Received: from dell.default ([91.110.221.236]) by smtp.gmail.com with ESMTPSA id d16sm3984942wrw.17.2020.11.06.13.37.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:37:28 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , linux-mtd@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Subject: [PATCH v2 23/23] mtd: devices: powernv_flash: Add function names to headers and fix 'dev' Date: Fri, 6 Nov 2020 21:36:55 +0000 Message-Id: <20201106213655.1838861-24-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201106213655.1838861-1-lee.jones@linaro.org> References: <20201106213655.1838861-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/mtd/devices/powernv_flash.c:129: warning: Cannot understand * @mtd: the device drivers/mtd/devices/powernv_flash.c:145: warning: Cannot understand * @mtd: the device drivers/mtd/devices/powernv_flash.c:161: warning: Cannot understand * @mtd: the device drivers/mtd/devices/powernv_flash.c:184: warning: Function parameter or member 'dev' not described in 'powernv_flash_set_driver_info' Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linux-mtd@lists.infradead.org Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Lee Jones --- drivers/mtd/devices/powernv_flash.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/devices/powernv_flash.c b/drivers/mtd/devices/powernv_flash.c index 0b757d9ba2f6b..6950a87648151 100644 --- a/drivers/mtd/devices/powernv_flash.c +++ b/drivers/mtd/devices/powernv_flash.c @@ -126,6 +126,7 @@ static int powernv_flash_async_op(struct mtd_info *mtd, enum flash_op op, } /** + * powernv_flash_read * @mtd: the device * @from: the offset to read from * @len: the number of bytes to read @@ -142,6 +143,7 @@ static int powernv_flash_read(struct mtd_info *mtd, loff_t from, size_t len, } /** + * powernv_flash_write * @mtd: the device * @to: the offset to write to * @len: the number of bytes to write @@ -158,6 +160,7 @@ static int powernv_flash_write(struct mtd_info *mtd, loff_t to, size_t len, } /** + * powernv_flash_erase * @mtd: the device * @erase: the erase info * Returns 0 if erase successful or -ERRNO if an error occurred @@ -176,7 +179,7 @@ static int powernv_flash_erase(struct mtd_info *mtd, struct erase_info *erase) /** * powernv_flash_set_driver_info - Fill the mtd_info structure and docg3 - * structure @pdev: The platform device + * @dev: The device structure * @mtd: The structure to fill */ static int powernv_flash_set_driver_info(struct device *dev, -- 2.25.1