On Fri, May 25, 2018 at 03:20:24PM -0600, Jason Gunthorpe wrote: > The latest gcc in tumbleweed reports: > > ../srp_daemon/srp_daemon.c: In function 'get_shared_pkeys': > ../srp_daemon/srp_daemon.c:1080:50: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] > snprintf(pkey_file, sizeof(pkey_file), "pkeys/%d", pkey_index); > > The given format string requires 18 bytes to handle all expansions of %d > > Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx> > Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx> > --- > srp_daemon/srp_daemon.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html