* [PATCH] f2fs: data: fix warning Using plain integer as NULL pointer
@ 2019-04-06 10:59 Hariprasad Kelam
2019-04-06 19:06 ` Mukesh Ojha
2019-04-08 11:18 ` Chao Yu
0 siblings, 2 replies; 3+ messages in thread
From: Hariprasad Kelam @ 2019-04-06 10:59 UTC (permalink / raw)
To: Jaegeuk Kim, Chao Yu, linux-f2fs-devel, linux-kernel
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 <hariprasad.kelam@gmail.com>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] f2fs: data: fix warning Using plain integer as NULL pointer
2019-04-06 10:59 [PATCH] f2fs: data: fix warning Using plain integer as NULL pointer Hariprasad Kelam
@ 2019-04-06 19:06 ` Mukesh Ojha
2019-04-08 11:18 ` Chao Yu
1 sibling, 0 replies; 3+ messages in thread
From: Mukesh Ojha @ 2019-04-06 19:06 UTC (permalink / raw)
To: Hariprasad Kelam, Jaegeuk Kim, Chao Yu, linux-f2fs-devel, linux-kernel
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 <hariprasad.kelam@gmail.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
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,
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] f2fs: data: fix warning Using plain integer as NULL pointer
2019-04-06 10:59 [PATCH] f2fs: data: fix warning Using plain integer as NULL pointer Hariprasad Kelam
2019-04-06 19:06 ` Mukesh Ojha
@ 2019-04-08 11:18 ` Chao Yu
1 sibling, 0 replies; 3+ messages in thread
From: Chao Yu @ 2019-04-08 11:18 UTC (permalink / raw)
To: Hariprasad Kelam, Jaegeuk Kim, linux-f2fs-devel, linux-kernel
On 2019/4/6 18:59, 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 <hariprasad.kelam@gmail.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Thanks,
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-04-08 11:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-06 10:59 [PATCH] f2fs: data: fix warning Using plain integer as NULL pointer Hariprasad Kelam
2019-04-06 19:06 ` Mukesh Ojha
2019-04-08 11:18 ` Chao Yu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).