Repository navigation
Commit 0fb628f
net: mvpp2: fix phylink handling of invalid PHY modes
The .validate phylink callback should empty the supported bitmap when
the interface mode is invalid.
Cc: Maxime Chevallier <maxime.chevallier@bootlin.com>
Cc: Antoine Tenart <antoine.tenart@bootlin.com>
Reported-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 01b3fd5 commit 0fb628f
1 file changed
Lines changed: 32 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4375 | 4375 | | |
4376 | 4376 | | |
4377 | 4377 | | |
| 4378 | + | |
4378 | 4379 | | |
4379 | 4380 | | |
| 4381 | + | |
| 4382 | + | |
| 4383 | + | |
| 4384 | + | |
| 4385 | + | |
| 4386 | + | |
| 4387 | + | |
| 4388 | + | |
| 4389 | + | |
| 4390 | + | |
| 4391 | + | |
| 4392 | + | |
| 4393 | + | |
| 4394 | + | |
| 4395 | + | |
| 4396 | + | |
| 4397 | + | |
| 4398 | + | |
4380 | 4399 | | |
4381 | 4400 | | |
4382 | 4401 | | |
4383 | 4402 | | |
4384 | 4403 | | |
4385 | 4404 | | |
4386 | 4405 | | |
| 4406 | + | |
4387 | 4407 | | |
4388 | 4408 | | |
4389 | 4409 | | |
| |||
4392 | 4412 | | |
4393 | 4413 | | |
4394 | 4414 | | |
4395 | | - | |
| 4415 | + | |
| 4416 | + | |
| 4417 | + | |
| 4418 | + | |
| 4419 | + | |
4396 | 4420 | | |
4397 | 4421 | | |
4398 | 4422 | | |
| |||
4404 | 4428 | | |
4405 | 4429 | | |
4406 | 4430 | | |
| 4431 | + | |
| 4432 | + | |
| 4433 | + | |
4407 | 4434 | | |
4408 | 4435 | | |
4409 | 4436 | | |
4410 | 4437 | | |
4411 | 4438 | | |
| 4439 | + | |
| 4440 | + | |
| 4441 | + | |
| 4442 | + | |
4412 | 4443 | | |
4413 | 4444 | | |
4414 | 4445 | | |
| |||
0 commit comments