Check ptp_clock_register() return not only for NULL but
also for error pointers, and also nullify adapter->ptp_clock
if ptp_clock_register() fails.
Fixes:
|
||
|---|---|---|
| .. | ||
| cxgb | ||
| cxgb3 | ||
| cxgb4 | ||
| cxgb4vf | ||
| libcxgb | ||
| Kconfig | ||
| Makefile | ||
Check ptp_clock_register() return not only for NULL but
also for error pointers, and also nullify adapter->ptp_clock
if ptp_clock_register() fails.
Fixes:
|
||
|---|---|---|
| .. | ||
| cxgb | ||
| cxgb3 | ||
| cxgb4 | ||
| cxgb4vf | ||
| libcxgb | ||
| Kconfig | ||
| Makefile | ||