Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp4529243pxf; Tue, 30 Mar 2021 09:55:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyak5mBMVcrcTk2oKo9K0EwwuBnGxRKRtOGKUIXAC4bfLZ1+8amgCuYy7lUJodPFpPMRu1P X-Received: by 2002:aa7:dc49:: with SMTP id g9mr33891235edu.60.1617123344486; Tue, 30 Mar 2021 09:55:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617123344; cv=none; d=google.com; s=arc-20160816; b=MgnpI1MRAHTrXoZASXMZuOB+TNcYeb7hZGcLCDaOoFfZ7dchdfydpk0ZHdUcKlFfd9 bdLYi7ehgr5pieCzLRVzMt9L0CB0RXEDmmQPqCOzmynF5k7rCi32ANlTQyv9TKrFZMI4 tXWCu8V/E/zqgIRf8zKLL98F0YPgstqvRWQ75/5Euy++N4NW1gjdqx2Tnvz2hkiiOv7h WkE9DMfv5aGoTaaiTRljO7Y/BJ82Ni6UzupnpM8xKYkZj4+ZdvSKwGY7HH8xLiFQKbGQ XFMF80hOOGpMaDxRMNT21Z/8SJwXzTXqqBY7bXG6TkPvonBLBYmAS+C2WM0ZKoX9klVY kW4w== 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=FGLqWsMKMFzu8AgI6vn47Mo1M3gcJ+HFYMnTl8CpPNE=; b=fWcsnrizGEk7yB+UkS0QFgfr19WPOVCasSy9ShwlvjkOZ/7znvBKAUAuwl3UrVDEp9 NM/YaesZxsKQA4s9iFZDYPSaSXdTTU76Hk4GktxvoJbDphR9OHQsAT/kiXX6FxPJo46u Z0BufwqKoHS3BJOu6D1MnFgAJAtRN/SACgAcLVUaSVzQ5Y7QjuSLwHoIsLIzbIwOVZpU a4OmAe1x0ZwC0e2fQRqqdD3j4BG3C8wjO4dcdZTFvlew+1rpEmnMtfw+WRb/fqmZke4L zr7YyffST0SHlfU4a7dxubcmkoRcMbH4mBnxpy5Qeh908v9zuH3Cs2y2gDpzBGbfp/aR GO9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=o4bsLxAz; 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 ci15si15301366ejc.261.2021.03.30.09.55.21; Tue, 30 Mar 2021 09:55:44 -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=o4bsLxAz; 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 S232723AbhC3Qqm (ORCPT + 99 others); Tue, 30 Mar 2021 12:46:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232395AbhC3QpR (ORCPT ); Tue, 30 Mar 2021 12:45:17 -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 35869C061762 for ; Tue, 30 Mar 2021 09:45:17 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id b9so16861798wrt.8 for ; Tue, 30 Mar 2021 09:45:17 -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=FGLqWsMKMFzu8AgI6vn47Mo1M3gcJ+HFYMnTl8CpPNE=; b=o4bsLxAzdSzHC0+9O7V9WippeyBZyIFoaExXWagIEpDMWv+3pp6EiKlUqT+iayCPd/ DvHHF6pEfy0QkpD8CkbVq7VRz08PQKFurCSQExR2bQWBFY93e30cZAGGJGZjGDZw15/L WdfymAwc7stogcnhnhEjjFD0D2YcWycjNkHj16+4K/Z0jKgdzccPrAy7SKww0TKnkZj+ E8jcs6uEcBT8BTLk2+ajJJUj3Y0Wm9lx8eATHonea8OhadtR1UaPy8QwhMSUJ0s9Y6RQ A6FFctxGaVuESjBTrol4Yup1xe7jQPsJbsfXcT3a7VTHhrtQFIjv7M/IPfhxPXIBBqij YWgw== 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=FGLqWsMKMFzu8AgI6vn47Mo1M3gcJ+HFYMnTl8CpPNE=; b=DId6lWxEKCKxdh7qLQeTeSZ5d5eINTVYwIfbQ0r35mvJKiJM7PTMLif2eovyTjqaoW q6pKfFtexwBMI5LuHmCsYYbhx5XQsIISDxCuTVrZQQwqdO2KEysKFiFOHJM+wasJIqXS x7Lqjig/2Cm5+1VvhTPnV8Zn09+Rz+5Jk/tlL4sbssTVFCG+paID16wB9cwOOzACYBOO cjhEsE5pxMh876gsquhZymI5XJGKXKUyRTbeTc2jPzoni10vUNK/ThCrEwjJxXeYYKhk 6jKrhjisArZTPEq8PSuiOXtk7To4+53srryflrZqzjtHNb1TEJftZVx1gP+N98n5YuqI b/sg== X-Gm-Message-State: AOAM531h2cwb/vlPDCfG5Vru/G1ThOwvBmtlxvYBTBpbLduQGronaCtP AYMqMNpksoyqxujM8KaZGcURHg== X-Received: by 2002:adf:bc01:: with SMTP id s1mr35009295wrg.240.1617122715996; Tue, 30 Mar 2021 09:45:15 -0700 (PDT) Received: from dell.default ([91.110.221.217]) by smtp.gmail.com with ESMTPSA id a15sm25660805wrr.53.2021.03.30.09.45.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Mar 2021 09:45:15 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Bob Peterson , Andreas Gruenbacher , cluster-devel@redhat.com Subject: [PATCH 15/31] fs: gfs2: recovery: Provide missing param descriptions and remove one other Date: Tue, 30 Mar 2021 17:44:42 +0100 Message-Id: <20210330164458.1625478-16-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210330164458.1625478-1-lee.jones@linaro.org> References: <20210330164458.1625478-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): fs/gfs2/recovery.c:169: warning: Function parameter or member 'head' not described in 'get_log_header' fs/gfs2/recovery.c:169: warning: Excess function parameter 'lh' description in 'get_log_header' fs/gfs2/recovery.c:199: warning: Function parameter or member 'pass' not described in 'foreach_descriptor' Cc: Bob Peterson Cc: Andreas Gruenbacher Cc: cluster-devel@redhat.com Signed-off-by: Lee Jones --- fs/gfs2/recovery.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/gfs2/recovery.c b/fs/gfs2/recovery.c index 2821737740055..26004d5431165 100644 --- a/fs/gfs2/recovery.c +++ b/fs/gfs2/recovery.c @@ -154,7 +154,7 @@ int __get_log_header(struct gfs2_sbd *sdp, const struct gfs2_log_header *lh, * get_log_header - read the log header for a given segment * @jd: the journal * @blk: the block to look at - * @lh: the log header to return + * @head: the log header to return * * Read the log header for a given segement in a given journal. Do a few * sanity checks on it. @@ -187,6 +187,7 @@ static int get_log_header(struct gfs2_jdesc *jd, unsigned int blk, * @jd: the journal * @start: the first log header in the active region * @end: the last log header (don't process the contents of this entry)) + * @pass: iteration number (foreach_descriptor() is called in a for() loop) * * Call a given function once for every log descriptor in the active * portion of the log. -- 2.27.0