Re: linux-next: build warning after merge of the ext3 tree
From: Jan Kara
Date: Mon Nov 01 2021 - 07:51:02 EST
On Thu 28-10-21 21:10:53, Stephen Rothwell wrote:
> Hi all,
>
> After merging the ext3 tree, today's linux-next build (powerpc
> allyesconfig) produced this warning:
>
> samples/fanotify/fs-monitor.c: In function 'handle_notifications':
> samples/fanotify/fs-monitor.c:68:36: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 2 has type '__u64' {aka 'long unsigned int'} [-Wformat=]
> 68 | printf("unexpected FAN MARK: %llx\n", event->mask);
> | ~~~^ ~~~~~~~~~~~
> | | |
> | | __u64 {aka long unsigned int}
> | long long unsigned int
> | %lx
>
> Introduced by commit
>
> 5451093081db ("samples: Add fs error monitoring example")
Thanks for report Stephen. I've added attached patch to my tree to fix it
up.
Honza
--
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR