diff options
author | Andrew Lunn <andrew@lunn.ch> | 2020-02-08 16:54:32 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-10 14:01:43 +0100 |
commit | 5d1fbdf238b5175579a34ac1c21cd172b65e9ca7 (patch) | |
tree | fbbf0d6ecb6c4c9df9095920d2c5dc2752f042a7 /net/core/dev.c | |
parent | 88bf54603f6f2c137dfee1abf6436ceac3528d2d (diff) | |
download | lwn-5d1fbdf238b5175579a34ac1c21cd172b65e9ca7.tar.gz lwn-5d1fbdf238b5175579a34ac1c21cd172b65e9ca7.zip |
net: dsa: mv88e6xxx: Prevent truncation of longer interrupt names
When adding support for unique interrupt names, after testing on a few
devices, it was assumed 32 characters would be sufficient. This
assumption turned out to be incorrect, ZII RDU2 for example uses a
device base name of mv88e6xxx-30be0000.ethernet-1:0, leaving no space
for post fixes such as -g1-atu-prob and -watchdog. The names then
become identical, defeating the point of the patch.
Increase the length of the string to 64 charactoes.
Reported-by: Chris Healy <Chris.Healy@zii.aero>
Fixes: 3095383a8ab4 ("net: dsa: mv88e6xxx: Unique IRQ name")
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions