Call netif_carrier_on() after register_device(). Otherwise it won't work since
the device was still in NETREG_UNINITIALIZED state.
Fixes a68f9614614749727286f675d15f1e09d13cb54a
(hyperv: Fix race between probe and open calls)
Cc: Haiyang Zhang
Cc: K. Y. Srinivasan
Reported-by: Di Nie
Tested-by
PTR_RET is deprecated. Use PTR_ERR_OR_ZERO instead.
While at it also use PTR_ERR_OR_ZERO in ion.c to simplify
the code.
Signed-off-by: Sachin Kamat
Cc: John Stultz
---
drivers/staging/android/ion/ion.c |5 ++---
drivers/staging/android/ion/ion_heap.c |2 +-
2 files changed, 3 inser
This coding style error was detected using the checkpatch.pl script
Signed-off-by: Gary Servin
---
drivers/staging/olpc_dcon/olpc_dcon.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/olpc_dcon/olpc_dcon.h
b/drivers/staging/olpc_dcon/olpc_dcon.h
index e2663b