Loading drivers/char/diag/diagfwd_peripheral.c +5 −1 Original line number Diff line number Diff line Loading @@ -484,6 +484,7 @@ void diagfwd_peripheral_exit(void) uint8_t peripheral; uint8_t type; struct diagfwd_info *fwd_info = NULL; int transport = 0; diag_smd_exit(); diag_socket_exit(); Loading @@ -506,7 +507,10 @@ void diagfwd_peripheral_exit(void) driver->diagfwd_dci_cmd[peripheral] = NULL; } kfree(early_init_info); for (transport = 0; transport < NUM_TRANSPORT; transport++) { kfree(early_init_info[transport]); early_init_info[transport] = NULL; } } int diagfwd_cntl_register(uint8_t transport, uint8_t peripheral, void *ctxt, Loading Loading
drivers/char/diag/diagfwd_peripheral.c +5 −1 Original line number Diff line number Diff line Loading @@ -484,6 +484,7 @@ void diagfwd_peripheral_exit(void) uint8_t peripheral; uint8_t type; struct diagfwd_info *fwd_info = NULL; int transport = 0; diag_smd_exit(); diag_socket_exit(); Loading @@ -506,7 +507,10 @@ void diagfwd_peripheral_exit(void) driver->diagfwd_dci_cmd[peripheral] = NULL; } kfree(early_init_info); for (transport = 0; transport < NUM_TRANSPORT; transport++) { kfree(early_init_info[transport]); early_init_info[transport] = NULL; } } int diagfwd_cntl_register(uint8_t transport, uint8_t peripheral, void *ctxt, Loading