]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: sja1105: Make dynamic_config_read return -ENOENT if not found
authorVladimir Oltean <olteanv@gmail.com>
Sun, 2 Jun 2019 21:11:59 +0000 (00:11 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jun 2019 18:49:19 +0000 (11:49 -0700)
commita0c21fbb865b2f871873c2afe8c67c4318e8aa66
treeb3f45aef9f1e74799f31468c0cdcef1d52a62846
parent13a26427b1a77cbdc7b62f358bd7b9a6634da8e0
net: dsa: sja1105: Make dynamic_config_read return -ENOENT if not found

Conceptually, if an entry is not found in the requested hardware table,
it is not an invalid request - so change the error returned
appropriately.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/sja1105/sja1105_dynamic_config.c
drivers/net/dsa/sja1105/sja1105_main.c