Thread (3 messages) 3 messages, 3 authors, 2017-09-30

Re: [PATCH net-next] liquidio: fix format truncation warning reported by gcc 7.1.1

From: David Miller <davem@davemloft.net>
Date: 2017-09-30 04:29:04

From: Felix Manlunas <redacted>
Date: Tue, 26 Sep 2017 11:48:27 -0700
From: Satanand Burla <redacted>

gcc 7.1.1 with -Wformat-truncation reports these warnings:

drivers/net/ethernet/cavium/liquidio/lio_core.c: In function `octeon_setup_interrupt':
drivers/net/ethernet/cavium/liquidio/lio_core.c:1003:41: warning: `%u' directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 13 [-Wformat-truncation=]
       INTRNAMSIZ, "LiquidIO%u-pf%u-rxtx-%u",
                                         ^~
Please just increase INTRNAMSIZ as needed.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help