Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1997224yba; Mon, 15 Apr 2019 02:48:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqxT2bzUwiouCm9JiOAGWqPMZSid9drPxk2uWcX1tEU2AzCHviRieSoOtJjXFaxoXXu0X2lF X-Received: by 2002:a65:6289:: with SMTP id f9mr69845657pgv.380.1555321726987; Mon, 15 Apr 2019 02:48:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555321726; cv=none; d=google.com; s=arc-20160816; b=m/AwSsb09/8tCKNXQmoSdP17Tg3JBXnmEZFcxwGd8HeAAGVEnnodDpw90p8l4NwHkJ fl54kyhKOhlkJBDaYpk48HyX5mZnQocvDJddxk169hGxuSkhOWxBCb4IZcIXqYLHE8ei ZZAy37V/z4fJEd4YmuBn4qT1kykVF6xlpbpimir565xASrbEmAnYgnDn+ousd/YN4SQ0 wTrkrI7fFGo2JvIz7VlAnOGgMuS9sG3+sUY2eC/1u2oBCcVyf9ko+pQ7SAFqmxHf10jJ dFF/mWs4z8xz+un81HELkZf9njwyxIwuUgXlqeOlrtsCOiF/a+Mb/hasscndGT+W3q6C zKMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=DfEjyKqlZQ8VsyEHDvVBFf6x9RzN1tCVWMKekPpWsT0=; b=ZkwKaIsCQ3INz5Bx9ZR7Hbd1aE363wyp8ccv5dvG6In4/lMyFniVLL0H1QKh8jQHNo G4t2/bcZYCfUdEEc/p3m5dTVTuAj0ye2VyzSV+6Ir3Y8mCVykds0i4f4GcdG1rlj6t2y XqGvwRNT1kRGLiLocyd2Yk+7FObtVeEdDssxIC0BLE2FKRx9VCxjsQrFDVfWDsPMWp3T ty+Vd1S+JALeZ1+9LOPg8xC8hp9e/+T8P8iIq/7Q6wnQuPwyuBAxHz8sFVpCLafItGnZ 1beTWPO6H8h64ZjvPmO3SPdvShKq3PuLRSnw7bIj+Jm9EMR4aa23i2/3G9gRv6y8ixu0 exLQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d20si24543067pll.322.2019.04.15.02.48.30; Mon, 15 Apr 2019 02:48:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727079AbfDOJrs (ORCPT + 99 others); Mon, 15 Apr 2019 05:47:48 -0400 Received: from mx2.suse.de ([195.135.220.15]:57192 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725798AbfDOJrr (ORCPT ); Mon, 15 Apr 2019 05:47:47 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id C7898B02C; Mon, 15 Apr 2019 09:47:39 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id 251261E42AA; Mon, 15 Apr 2019 11:47:39 +0200 (CEST) Date: Mon, 15 Apr 2019 11:47:39 +0200 From: Jan Kara To: Bharath Vedartham Cc: keescook@chromium.org, jack@suse.cz, arnd@arndb.de, akpm@linux-foundation.org, reiserfs-devel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] fs/reiserfs/journal.c: Make remove_journal_hash static Message-ID: <20190415094739.GA13684@quack2.suse.cz> References: <20190414112438.GA23266@bharath12345-Inspiron-5559> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190414112438.GA23266@bharath12345-Inspiron-5559> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun 14-04-19 16:54:38, Bharath Vedartham wrote: > This fixes the -WDecl sparse warning in journal.c. Function was declared > as static void but the definition was void. > > Signed-off-by: Bharath Vedartham Thanks! I've added your patch into my tree. Honza > --- > fs/reiserfs/journal.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/reiserfs/journal.c b/fs/reiserfs/journal.c > index 8a76f9d..36346dc 100644 > --- a/fs/reiserfs/journal.c > +++ b/fs/reiserfs/journal.c > @@ -1844,7 +1844,7 @@ static int flush_used_journal_lists(struct super_block *s, > * removes any nodes in table with name block and dev as bh. > * only touchs the hnext and hprev pointers. > */ > -void remove_journal_hash(struct super_block *sb, > +static void remove_journal_hash(struct super_block *sb, > struct reiserfs_journal_cnode **table, > struct reiserfs_journal_list *jl, > unsigned long block, int remove_freed) > -- > 2.7.4 > -- Jan Kara SUSE Labs, CR