Commit cc4342f
net: mvpp2: Defer probe if MAC address source is not yet ready
NVMEM layouts are no longer registered early, and thus may not yet be
available when Ethernet drivers (or any other consumer) probe, leading
to possible probe deferrals errors. Forward the error code if this
happens. All other errors being discarded, the driver will eventually
use a random MAC address if no other source was considered valid (no
functional change on this regard).
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Marcin Wojtas <mw@semihalf.com>
Link: https://lore.kernel.org/r/20230307192927.512757-1-miquel.raynal@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent a133153 commit cc4342f
1 file changed
+16
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6081 | 6081 | | |
6082 | 6082 | | |
6083 | 6083 | | |
6084 | | - | |
6085 | | - | |
6086 | | - | |
| 6084 | + | |
| 6085 | + | |
| 6086 | + | |
6087 | 6087 | | |
6088 | 6088 | | |
6089 | 6089 | | |
6090 | 6090 | | |
| 6091 | + | |
6091 | 6092 | | |
6092 | 6093 | | |
6093 | 6094 | | |
6094 | 6095 | | |
6095 | | - | |
| 6096 | + | |
6096 | 6097 | | |
6097 | 6098 | | |
6098 | 6099 | | |
6099 | 6100 | | |
6100 | 6101 | | |
6101 | 6102 | | |
6102 | 6103 | | |
6103 | | - | |
| 6104 | + | |
6104 | 6105 | | |
6105 | 6106 | | |
6106 | 6107 | | |
6107 | 6108 | | |
6108 | | - | |
| 6109 | + | |
| 6110 | + | |
| 6111 | + | |
| 6112 | + | |
6109 | 6113 | | |
6110 | 6114 | | |
6111 | | - | |
| 6115 | + | |
6112 | 6116 | | |
6113 | 6117 | | |
6114 | 6118 | | |
6115 | 6119 | | |
| 6120 | + | |
| 6121 | + | |
6116 | 6122 | | |
6117 | 6123 | | |
6118 | 6124 | | |
| |||
6815 | 6821 | | |
6816 | 6822 | | |
6817 | 6823 | | |
6818 | | - | |
| 6824 | + | |
| 6825 | + | |
| 6826 | + | |
6819 | 6827 | | |
6820 | 6828 | | |
6821 | 6829 | | |
| |||
0 commit comments