Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1108987yba; Sat, 6 Apr 2019 04:01:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqxMrMQFZi0c2igL/wid9zpsKfULbTdTuvgl4+7cNxGX/+1C5877QL8xicVYpw2ZEjV7yKWb X-Received: by 2002:a63:5a20:: with SMTP id o32mr16801356pgb.225.1554548485363; Sat, 06 Apr 2019 04:01:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554548485; cv=none; d=google.com; s=arc-20160816; b=RsNd6foANQxbTOLdz7VxGQvLB3pfOHYUX//5PAixYhWs0E+hYrzVH8NS6CCck1Nscn Blv6l7uBgtba+TCwWdM3+gT9jloI1gO2l5RHmgj0Cu5W8qxlVMCt3v2BPaa4zTKLrkYO h71qQ2eUK0m+h4EDGD8/0pejf7RAZ4IzyuuYUNbHN02/41XrnTM6AkoME9yRr4M4f8co JJf/gWdGHtJL05Jy47IJIPPdiGMSndDegOZavn1PCEMYRbJB00eLySX9khuO5+UTDAql c4Le6ibilRIlUkacSOg8xSK+Tj+vLg7O0bow1ktB+S+F8bO1+mQP6+LDHs/0N1bpH/HX dMAA== 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:to:from:date:dkim-signature; bh=SD8KfYmLbVLOdOYjbfQ2SZnfZ089F/DLA1H7/KP5DEI=; b=pP9AKww23Vy7PPOwpzxvdGRBzTuu2cx/MWjLrKzITXemFLDZTx1M+Ij8vMUKLHwsWl YEwUglwechDkFL2UcdyARqmfV9iAB795QWv5RBq2npQRGBqDCBoqrftHDGe+PfGS56QX 8XwNncIu8s/Q2ugLISFsgFvRf6usn+3G0zd5xs/pOkIEqoobDboKPLLclYEQ0nSxUukd BrX6UHZY25waqQWevrxp+6V6OHb3g99IDbGt4tn4Tdgmur/rxPGoNmbf9E8kK0xRON2I yakJSijJtjbgSbnSbLXoPSO63Eor7NxRKzFxZXwVX2rbnOBRW54rI+9GmrVhs/GTueKH 09Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Zyw4LQVa; 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 t24si8479996pgu.597.2019.04.06.04.00.57; Sat, 06 Apr 2019 04:01:25 -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=Zyw4LQVa; 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 S1726436AbfDFK7n (ORCPT + 99 others); Sat, 6 Apr 2019 06:59:43 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:36403 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726310AbfDFK7m (ORCPT ); Sat, 6 Apr 2019 06:59:42 -0400 Received: by mail-pg1-f194.google.com with SMTP id 85so4465192pgc.3 for ; Sat, 06 Apr 2019 03:59:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=SD8KfYmLbVLOdOYjbfQ2SZnfZ089F/DLA1H7/KP5DEI=; b=Zyw4LQVaPbg+jDSwONfarn1K2amlEkRzDJo2Oi4Htg7/s2KcTkyQ5afix/dDrKTLjd +LD1Fcp6A5HqDSqKd8fAxs3pDZ59el0WDD4aA4gRIraqlI9iirNPHAJqNW00qdeLZQa4 /ib00qMKIo0h/paylsWMIcKfNJIARe2I8SMfStzevF+tQKfMZyrE7WsYdLBb4diexA6P 5Flvt039pZ/qeh5yv9fMS714CBt7dvUMGKDfkcAsNUKA3/QcyVYMOJnhdqcs7G8cdfUE uKvLvWHJW5ohezb0kW7DxcvQwaW+dB22NxyARb89HFpMgLeyDb6/XntTV2pmf208ea/H 2/gA== 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:subject:message-id:mime-version :content-disposition:user-agent; bh=SD8KfYmLbVLOdOYjbfQ2SZnfZ089F/DLA1H7/KP5DEI=; b=j6A5VQ1btEnNSmkVfVA28F6WGz/1KRO4FCNndC3GLK2Api4OjvT1BLOkwoLM5NiHv1 sd6QvCCFUVnQJjj3Rzbi6o4LNWOhg/eRfUDvq9YFvmfdr3uRGRpWZ9NLXKZbLkpd2Vnc FIw9lPUXR2qajvNQgahnPR4oaKJwNO2/XAOU0BtkSIWCSgO71U0Z0ZJapz8rlj67BIwj 2dMuZvoHWg05DihuKSKvTI4rFl5ySkxNSI1BDiwR7n0VWQtlQCXFXtxQglB0YyUCwMHU uRj/1aEcMnQM2fIZ1atQFP6LgMCmdcNdMAUXExLZRzygWwHC9ki/jyimd9fs58z9DY2W JqgQ== X-Gm-Message-State: APjAAAWJZ+0HKI3EFWWAZ9jnIxmTvVyihU4OLx9E2zxT5teltJOdXCql ha5f7OTqXPhz/2wce31659Y= X-Received: by 2002:a63:e045:: with SMTP id n5mr17451271pgj.230.1554548381913; Sat, 06 Apr 2019 03:59:41 -0700 (PDT) Received: from hari-Inspiron-1545 ([183.83.91.90]) by smtp.gmail.com with ESMTPSA id o5sm82684138pfa.135.2019.04.06.03.59.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 06 Apr 2019 03:59:41 -0700 (PDT) Date: Sat, 6 Apr 2019 16:29:36 +0530 From: Hariprasad Kelam To: Jaegeuk Kim , Chao Yu , linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: [PATCH] f2fs: data: fix warning Using plain integer as NULL pointer Message-ID: <20190406105936.GA30585@hari-Inspiron-1545> 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 changed passing function argument "0 to NULL" to fix below sparse warning fs/f2fs/data.c:426:47: warning: Using plain integer as NULL pointer Signed-off-by: Hariprasad Kelam --- fs/f2fs/data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 97279441..15a2381 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -423,7 +423,7 @@ static void __submit_merged_write_cond(struct f2fs_sb_info *sbi, void f2fs_submit_merged_write(struct f2fs_sb_info *sbi, enum page_type type) { - __submit_merged_write_cond(sbi, NULL, 0, 0, type, true); + __submit_merged_write_cond(sbi, NULL, NULL, 0, type, true); } void f2fs_submit_merged_write_cond(struct f2fs_sb_info *sbi, -- 2.7.4