Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1230794yba; Sun, 14 Apr 2019 04:25:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqyc+0tWb4nl6u1D1Tor/TaGv26+6ySYiluI0F7ae4jf6h1ah4Y3mjK7mg4W1oorPdBgTGWz X-Received: by 2002:a17:902:9a0c:: with SMTP id v12mr42143318plp.184.1555241138357; Sun, 14 Apr 2019 04:25:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555241138; cv=none; d=google.com; s=arc-20160816; b=h//KYM/JHAb7AHjDbB19JUx35nP740T6966iHXo8/W8EyUBjq6z6R6J2z3W5XTv352 7+xcY9kWwCTJnWaA1r7Y7zg5v+GC0+UWUngRpofRZMY3yupaKG4UhsGyrIPJ/CmvY8z3 Lh/7Lz1snShggI0THoqgTmCLPMWd+nQMDsEfIWCBvPVtJnYFnjFSKaZd61D+FFB16LK8 D9Zkg4KG8qUUmTGm4ecqCjqLtaBFhj4Er+tKuEUysLRkmLr+k7mStq6953w4AHXyO7Ob vHYzxBRUjevtChNR5p1KcXqGgvVM854Ge39nj+y4Al4kxNd6O4K2SJVpSwpLPpiYZbO8 O5IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=8bh7E92XwAQY9Rdt0I1FjHX4WCuQLkN46aALYSHpo68=; b=Ol02WFsGJK2bXVkXofbwaC908EsjGg+rhomTdBCfXSW9vKHJ1ze+bEK7sWIIE2eVtb 9MVs+OjhkLu90Iv+HQmbi92bn/yZrCSRoFGTb+23TaRZlqtmuN6xehCcLFEpzthJfKDt rmnHm1gNgGnVGDQRK70Z3n42j8P5kZVwXGURLiLu7JZ1bmT9/X4H48OxmoOzpSmXi2i6 vuFASuzVp24xn8rfMwEhAHkmOx2A16H0PcXwusxBHH71CUFETZo6h6sYbzKOdM/2L3O7 ttHLRvg2QogTJEoUOMhlzerCMbozaUX5iq11cBkVsWpCiikt0Z4snT4jEVEf++K3vArH jlgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PI1GqRip; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g11si31356939plt.35.2019.04.14.04.25.19; Sun, 14 Apr 2019 04:25:38 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PI1GqRip; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726305AbfDNLYq (ORCPT + 99 others); Sun, 14 Apr 2019 07:24:46 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:40395 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbfDNLYq (ORCPT ); Sun, 14 Apr 2019 07:24:46 -0400 Received: by mail-pg1-f195.google.com with SMTP id d31so7236597pgl.7; Sun, 14 Apr 2019 04:24:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=8bh7E92XwAQY9Rdt0I1FjHX4WCuQLkN46aALYSHpo68=; b=PI1GqRip2CPbVtvq39Ix+q/D9uJvG7psnU60Ew+qfhmxytg189GtDF7U0y+yK0FPbm CST1lKgXywnptMMsb9v3hEmO+8ntAm9IqvrAeDgEL7SX/UdDYhtIFn6vI4BUYI/f6C7c vtokqAjhLIQXe4gLPkx1h9c166TfUEVbjf4u3mePpI+aTxXpzuAT9HVKwWEnFPlbR+Ig S5xM0op2xWQMDw7bx+/mL/dAKxjNJQdGrM07I9V79Lm9KigKNhRiqIx2L3/mb3quAMNC mfRPgDzn11gvfxoW2xYpTDCsrTH2Ku3hJ43LHkzTfCHG0/FMzhGfP1Sjpq4f+9bZNAij zAzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=8bh7E92XwAQY9Rdt0I1FjHX4WCuQLkN46aALYSHpo68=; b=sNrAU1GcLbjXWtUwVbVc9HO86Pq11y1CGqKGG3P2IZqTBS1E2JOtMfKiKnUO/kdsoR WHGk62IRHG244AisRMNWaS7NMX+FuwXH046ZJrA2hcjvab4LG2GQFs7eS5qCC3onOk39 YsnMGD7ndHt5dXcWRR8molJFmuGt21z2xYeJGtnGtiZqpyC/9PMKiqBExh7YbxfuSisN l9SIPglrgiNhrqoressdSQQ1WD33JIDqBaGZJzue3w4ITSLyQ1eoO95q7mIFd1I9R8i8 z9xDnTA3jaKA7q2vpQB0jbTWC46yL5ZPYNXdXtAz7i2goBEQor4jUFku+oQl6kQnaaO9 E75Q== X-Gm-Message-State: APjAAAVJsJyl1LXl3+K5M24fe9qe06ssiE2qFnoIoVXCb4MV34raaHv0 gbiWzxcR8F9t9IN79xIJPuA= X-Received: by 2002:a63:d709:: with SMTP id d9mr61543743pgg.38.1555241085856; Sun, 14 Apr 2019 04:24:45 -0700 (PDT) Received: from bharath12345-Inspiron-5559 ([103.110.42.36]) by smtp.gmail.com with ESMTPSA id a17sm76050235pfj.123.2019.04.14.04.24.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Apr 2019 04:24:45 -0700 (PDT) Date: Sun, 14 Apr 2019 16:54:38 +0530 From: Bharath Vedartham To: keescook@chromium.org, jack@suse.cz, arnd@arndb.de, akpm@linux-foundation.org Cc: reiserfs-devel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] fs/reiserfs/journal.c: Make remove_journal_hash static Message-ID: <20190414112438.GA23266@bharath12345-Inspiron-5559> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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