All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-devel] one warning in current upstream-queue branch
@ 2020-12-18 22:23 Xose Vazquez Perez
  2020-12-18 22:40 ` Martin Wilck
  0 siblings, 1 reply; 2+ messages in thread
From: Xose Vazquez Perez @ 2020-12-18 22:23 UTC (permalink / raw)
  To: DM-DEVEL ML, Benjamin Marzinski, Martin Wilck

With clang-11:

[...]
make -C libmultipath
[...]
clang --std=gnu99  -O2 -g -fstack-protector-strong --param=ssp-buffer-size=4 -Werror -Wall -Wextra -Wformat=2 -Werror=implicit-int -Werror=implicit-function-declaration -Werror=format-securit y 
-Werror=cast-qual  -pipe -DBIN_DIR=\"/sbin\" -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -MMD -MP -fPIC -I../libmpathcmd -I../libmpathpersist -I../libmultipath/nvme -DUSE_SYSTEMD=246 -DLIBDM_ API_FLUSH 
-D_GNU_SOURCE -DLIBDM_API_GET_ERRNO -DLIBDM_API_COOKIE -DLIBUDEV_API_RECVBUF -DLIBDM_API_DEFERRED -DLIBDM_API_HOLD_CONTROL -Wp,-D_FORTIFY_SOURCE=2  -c -o log.o log.c
log.c:142:32: error: format string is not a string literal [-Werror,-Wformat-nonliteral]
         vsnprintf(buff, MAX_MSG_SIZE, fmt, ap);
                                       ^~~
1 error generated.
make[1]: [../Makefile.inc:139: log.o] Error 1 (ignored)
[...]

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dm-devel] one warning in current upstream-queue branch
  2020-12-18 22:23 [dm-devel] one warning in current upstream-queue branch Xose Vazquez Perez
@ 2020-12-18 22:40 ` Martin Wilck
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Wilck @ 2020-12-18 22:40 UTC (permalink / raw)
  To: Xose Vazquez Perez, DM-DEVEL ML, Benjamin Marzinski

On Fri, 2020-12-18 at 23:23 +0100, Xose Vazquez Perez wrote:
> With clang-11:

Thanks. I've just sent a trivial patch to fix it.

Martin


--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-18 22:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-18 22:23 [dm-devel] one warning in current upstream-queue branch Xose Vazquez Perez
2020-12-18 22:40 ` Martin Wilck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.