From patchwork Mon Nov 9 18:21:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320954 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1955830ilc; Mon, 9 Nov 2020 10:22:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJz6t7Pk4ERrP43q9IiN+LpZBHwMckjqra4kSwMsEzqVOkZOfdxG0mdMqN0ew13Z/Nj5THDU X-Received: by 2002:ad4:4514:: with SMTP id k20mr14967418qvu.1.1604946163304; Mon, 09 Nov 2020 10:22:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604946163; cv=none; d=google.com; s=arc-20160816; b=UMoCP7IvZHQ8Vx0mpL0S9MkXMbnRxIG2A+7+9PJ4n1UUKCxxxL00p75AZAAhVKI9ni Wde82aWphytfmEGL4i7PaiEKh2BNmuxh7OkxCP1IOw/7ejOiNO5wykDJ0oje48HRgANH Wfy9UE/IAHvAJtt6tUOVShnJDQ7o+Kn9gAzUH5pCQ0wGu6o6z+8YyacTkan9Jfu8d5Qn ETaOp84UEfBsFoAs2NAGTIVwlt7S6xpKGewesi5Xtr4tNIuBPQcGHc94b253AOmbLHV1 uRKSHxGVf3Fp9lsk7IM5jwyGQuCgdpLRW3HAd8hRXXpM8JR9/HsawVtz/PCIOqQRikei LICQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:dkim-signature; bh=0JPJh5x9sYDiBUOX8A/85x0XQf3tuSTQnmrCnkWyeQU=; b=XOh5P8RDfYZ1DqEcDsZma87gC/YLARxOxx/2FkpW5Cqkh2k3avcvqIOtaGEWkYJYYT Jn4wFsEqdvmhkKVzJRNRdAxgQW8ubF2qvxJFhfEAqe5mrUZPGGOzq19E8Agqm0X/7lP7 lJK9U393ZTrzGTT93yfJXayO40qlxa2KgKcsctJdGRyJ+hnouWn+ltggInyUd3Kckr7j pWAEElCT2Bnmc5m+ULWMa8ZyBI/bEp2JB7K7shEOOuZEONzn19eZqt6sB3glGtrB2gpL JeE+n64bxU2jZBRYIyF/4b5UGxaOLr+UhQkZFPs7Kdc7N8UCQYPDfWt9rgA8LL2JYC9F 0OSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=kLAaQxi6; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=F+ZvdTVf; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id h12si5724210qko.16.2020.11.09.10.22.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=kLAaQxi6; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=F+ZvdTVf; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=0JPJh5x9sYDiBUOX8A/85x0XQf3tuSTQnmrCnkWyeQU=; b=kLAaQxi6FZoRcQl+u1QCeCD2x Bh9pLoowMOZQyq/pPCiBaKKWnzijkPjIsVvg73QeBRr09r3O9CnwMhvJff7AuMyJJkfjBUbjGzKtx bEgFsB86pdhQLk2TfIftA9maAASL3wDpjZV/LC5MuN6Wky6zl1U5nnss/EqdrkvFVjgVwE7/d1ojp 7CCMcQxQCMdlIX/NPqX6/+EseqGxTPjQ9jUqxFLO+ZprhszjcZ9Ye2+BNvtLOYhSU+O5+v8kZkpNS mC/M6zipw21T/G6K4jEtmcE0vn7AlVwNuDM5CEAnvSxS1NSp1up5nwjBMf+nJ3EuyOxs2W3masOPk zggE4z6vA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBoH-0000rt-2C; Mon, 09 Nov 2020 18:22:33 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcBo8-0000ok-4G for linux-mtd@lists.infradead.org; Mon, 09 Nov 2020 18:22:28 +0000 Received: by mail-wm1-x343.google.com with SMTP id h2so410345wmm.0 for ; Mon, 09 Nov 2020 10:22:23 -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=kN+nLzLc6b7cOpaWz6eZ4gZDLXqa51d6pByGdFZOfqY=; b=F+ZvdTVfnmjMXGSx8RoJArP9mYgb6L0mURGvhy8zo5keNvI2erU5GFgmqjFjC1EBnr oYJKjRClMhVseA4yWoa+zele2IZaHfRfpdW7TCR6W/c+wsKQ/RwjMHcol69anMrdXVem egxPWz9OSnO46hy3I0k3b41lurIRC6St9SJep8l+cRKoVsJBzvszVtKHYZber7rRh3Pz SpWHFdgn41nzJsiqZA7TWG1f6TPQa6CvmajSDYkrRxjGm+ScUYSQHXWxf4L8jb0oNM7b hXKAlwJ9AWT5GstvOuq8Rh7cV/CbkyzaldLohyd1+ykzfpUgkW+Q4jFcSl8kgtdP539O HLGg== 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=kN+nLzLc6b7cOpaWz6eZ4gZDLXqa51d6pByGdFZOfqY=; b=lnZo03MXebROHskRtrCWyG/mmvh1+y5Mw9QBqd5ZudPLaU8dX/i+kkj0x5vgY/pqUf cbNRhfH7kNQtj9AuupA3Vyo3s3GK/7M49VXw4qUdWT0yH4iYkvV/2oLZ24csPvzYGANS Wc41PTJr9SJPnmbiNhD5R4LG7K2G7GRv2k7H0jmEcoAj4hnzAjxLpYexYHLZGpuymXtK SuWS5Xyk3xRVetXfzH0EMIJLUTJw5dBo5MK5KYz6gzMkHRFvxGQxIbX4SbV3XCfRqid+ 3xbwlxhFFlNhfiIs1kTjWNyT43+ZR+4lWOWcLo6TtTBl98704dRNL9DPd74P5fDMh3pQ NNlg== X-Gm-Message-State: AOAM530Jzg/1jdGE4x9gEgQUD6fnWf0FfqkYws1ldw2npL4HakaYCBuQ OerynufHdG4zyBouLua1XC6CXQ== X-Received: by 2002:a1c:8095:: with SMTP id b143mr438554wmd.147.1604946143007; Mon, 09 Nov 2020 10:22:23 -0800 (PST) Received: from dell.default ([91.110.221.180]) by smtp.gmail.com with ESMTPSA id g186sm735365wma.1.2020.11.09.10.22.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Nov 2020 10:22:22 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH v3 04/23] mtd: devices: docg3: Fix kernel-doc 'bad line' and 'excessive doc' issues Date: Mon, 9 Nov 2020 18:21:47 +0000 Message-Id: <20201109182206.3037326-5-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201109182206.3037326-1-lee.jones@linaro.org> References: <20201109182206.3037326-1-lee.jones@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201109_132224_964912_31C4595D X-CRM114-Status: GOOD ( 15.66 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:343 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , Richard Weinberger , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, Miquel Raynal , Robert Jarzmik Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org This patch also places the descriptions in the correct order. Fixes the following W=1 kernel build warning(s): drivers/mtd/devices/docg3.c:819: warning: bad line: drivers/mtd/devices/docg3.c:1799: warning: Excess function parameter 'base' description in 'doc_probe_device' Cc: Robert Jarzmik Cc: Miquel Raynal Cc: Richard Weinberger Cc: Vignesh Raghavendra Cc: linux-mtd@lists.infradead.org Signed-off-by: Lee Jones --- drivers/mtd/devices/docg3.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) -- 2.25.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/drivers/mtd/devices/docg3.c b/drivers/mtd/devices/docg3.c index a030792115bc2..5b0ae5ddad745 100644 --- a/drivers/mtd/devices/docg3.c +++ b/drivers/mtd/devices/docg3.c @@ -816,7 +816,7 @@ static void doc_read_page_finish(struct docg3 *docg3) /** * calc_block_sector - Calculate blocks, pages and ofs. - + * * @from: offset in flash * @block0: first plane block index calculated * @block1: second plane block index calculated @@ -1783,10 +1783,9 @@ static int __init doc_set_driver_info(int chip_id, struct mtd_info *mtd) /** * doc_probe_device - Check if a device is available - * @base: the io space where the device is probed + * @cascade: the cascade of chips this devices will belong to * @floor: the floor of the probed device * @dev: the device - * @cascade: the cascade of chips this devices will belong to * * Checks whether a device at the specified IO range, and floor is available. *