[Cluster-devel] [PATCH] glocktop: Fix new -Wformat-overflow warnings

Bob Peterson rpeterso at redhat.com
Tue Apr 10 13:05:35 UTC 2018


----- Original Message -----
> Fixes new warnings in glocktop that appeared in Fedora 28 (gcc 8.0.1 /
> glibc 2.27), e.g.:
> 
>   glocktop.c:1806:30: warning: '_waiters' directive writing 8 bytes
>   into a region of size between 2 and 4091 [-Wformat-overflow=]
> 
> Signed-off-by: Andrew Price <anprice at redhat.com>
> ---
>  gfs2/glocktop/glocktop.c | 22 +++++++++++++++-------
>  1 file changed, 15 insertions(+), 7 deletions(-)

Hi,

Looks good. ACK.

Regards,

Bob Peterson
Red Hat File Systems




More information about the Cluster-devel mailing list