summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2019-02-21 20:09:27 -0800
committerDavid S. Miller <davem@davemloft.net>2019-02-23 13:44:57 -0800
commit3f8b86964ee5ba52f3ab28ec45d2f02d6ecce464 (patch)
treecf06c766a43e75e36bead8a7909ca61593a987f5 /init
parentab2c4e2581ad32c28627235ff0ae8c5a5ea6899f (diff)
downloadtalos-op-linux-3f8b86964ee5ba52f3ab28ec45d2f02d6ecce464.tar.gz
talos-op-linux-3f8b86964ee5ba52f3ab28ec45d2f02d6ecce464.zip
net: dsa: mv88e6xxx: Fix -Wformat-security warnings
We are not specifying an explicit format argument but instead passing a string litteral which causes these two warnings to show up: drivers/net/dsa/mv88e6xxx/chip.c: In function 'mv88e6xxx_irq_poll_setup': drivers/net/dsa/mv88e6xxx/chip.c:483:2: warning: format not a string literal and no format arguments [-Wformat-security] chip->kworker = kthread_create_worker(0, dev_name(chip->dev)); ^~~~ drivers/net/dsa/mv88e6xxx/ptp.c: In function 'mv88e6xxx_ptp_setup': drivers/net/dsa/mv88e6xxx/ptp.c:403:4: warning: format not a string literal and no format arguments [-Wformat-security] dev_name(chip->dev)); ^~~~~~~~ LD [M] drivers/net/dsa/mv88e6xxx/mv88e6xxx.o Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud