Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1431969yba; Sat, 6 Apr 2019 12:07:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1WeHE5dTE+pj2IwJgWacSd11NNYvu96xIaskH+VcFf7RRflmnQRWKQHNSDaEo7C8wZwCJ X-Received: by 2002:aa7:8145:: with SMTP id d5mr20134576pfn.215.1554577666292; Sat, 06 Apr 2019 12:07:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554577666; cv=none; d=google.com; s=arc-20160816; b=ZiimXBqf+7za0mvleR8s2+tqfsYhrNJBlC5gkBHpKCOWWjGNroe0UkHK5BWKFoFZuH evEQJD3Uar8JqLyOSFcqCarOuFMRligvhW3DQT7F/iHbYtCUhwAufLmpZDDdhijkwCEs RRZNQuyENuallmCMiAEVsKCYLR616CuK6pOuvS7kFcTopDyr1Wa0Ys1b5C6FLEwDd870 SDNwh2WuGTkrCu24xNWTEVnISXxiPSUTK6enjevPvAcekGEBWRXl577fc3T9bAVhYueD vE8bM0BbWsqufkTwOgqOWBO3OL8Yk9OMEUfyyyFUDcGK84QXJuS0w2iLXBTAkBoV5kRP pD9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dmarc-filter:dkim-signature :dkim-signature; bh=GD0TcN3G/TNdeVqCHkLnjJf+9FOMRqpkjI0kfWRHc0g=; b=DlBAk+JfdUlJXfdRIC5ko9ZtOv77VXsUDFNh0cqLhkPo4NBNrAvVCCW2RpIkJpFPhJ 0PWkrxDnga0yDQ28QFwRenWdIxIMwGXnBkRb0a1Lh7bDUN1beQs1vjZ0OXMvdl+e80HJ brEehK/lvYE9zHdcMGZPjBHSrYFqIzFofO/kpG8DGznh/5r8Qk83fRQTqAHiodMk7Udx MUa8pwvALxjP9wK9YfEQ8B+D5KQ4TkRW7hvPwYt3pF7YRvGcAWtuL9DALuJsW1F+0mk4 6Edm75AHRKt3w2EWCXCoEUf3pfxax7WFB8Jzy5gfaSnLiHyALD9GVByY1gBGqBRKS7fO V0Mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=B5LNUENa; dkim=pass header.i=@codeaurora.org header.s=default header.b=d00eRd8q; 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 m5si21775141pll.132.2019.04.06.12.07.30; Sat, 06 Apr 2019 12:07: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; dkim=pass header.i=@codeaurora.org header.s=default header.b=B5LNUENa; dkim=pass header.i=@codeaurora.org header.s=default header.b=d00eRd8q; 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 S1726607AbfDFTGt (ORCPT + 99 others); Sat, 6 Apr 2019 15:06:49 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:37240 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726435AbfDFTGt (ORCPT ); Sat, 6 Apr 2019 15:06:49 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 60CA36079C; Sat, 6 Apr 2019 19:06:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1554577608; bh=mtVERRMRXHZTuyi1ugtO4a1Mz95n6PAZeQCvJIUgZKI=; h=Subject:To:References:From:Date:In-Reply-To:From; b=B5LNUENaCwin5oK/HNpM4SX5gezXqacNTThUXzpvEr/jTQPahtwGZqN+b7X4cnV8f M2D6TDNmQydX4xhBrWJPswD6lQYO7cDqXEd9yQBz9HXr6+b/6N3jKfU3ANqSWrt4e+ KA1pc66KN5/UWpZjI1Gj2a9BEF6alvUtqj2XxYg8= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from [10.79.171.6] (blr-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.18.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mojha@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 599276049C; Sat, 6 Apr 2019 19:06:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1554577607; bh=mtVERRMRXHZTuyi1ugtO4a1Mz95n6PAZeQCvJIUgZKI=; h=Subject:To:References:From:Date:In-Reply-To:From; b=d00eRd8qdwJoQ7FU90Q6yhZjr8OzlJHydgx0HLMoU3v19ykzHc3ATTOYQf5X9+/BO CgVothd7rOxndjHR1huKWoxTaxpXrMF7F74zvGSB5OmVKAaN8wAfSYv6tvZY5PT56E JcS0QOrOnUPDuP4M0b9T4uHbimbdYOv5cQSKeSqA= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 599276049C Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=mojha@codeaurora.org Subject: Re: [PATCH] f2fs: data: fix warning Using plain integer as NULL pointer To: Hariprasad Kelam , Jaegeuk Kim , Chao Yu , linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org References: <20190406105936.GA30585@hari-Inspiron-1545> From: Mukesh Ojha Message-ID: <22201e87-47ed-d660-ca15-33567daab355@codeaurora.org> Date: Sun, 7 Apr 2019 00:36:38 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190406105936.GA30585@hari-Inspiron-1545> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/6/2019 4:29 PM, Hariprasad Kelam wrote: > 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 Reviewed-by: Mukesh Ojha Cheers, -Mukesh > --- > 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,