[COMMON] chub: fix chub driver kernel panic
authorBoojin Kim <boojin.kim@samsung.com>
Thu, 28 Jun 2018 03:35:14 +0000 (12:35 +0900)
committerYoungmin Nam <youngmin.nam@samsung.com>
Fri, 29 Jun 2018 09:14:25 +0000 (18:14 +0900)
commitdc68a9504353655ef66838f0ff09e5a218ac3db4
tree4a222e822a7b48eecb2d9fc88a4fe61e53b82d16
parentb081b4aa7be1dee7bffd6957a5ad6402b4824a71
[COMMON] chub: fix chub driver kernel panic

This patch fixs the following kernel panic
- remove access after free during download_image
- remove invalid chub access

Change-Id: Icd760df4aef48ef7273f3f18fb83aa73d0672a2d
Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
drivers/staging/nanohub/Makefile
drivers/staging/nanohub/chub.c
drivers/staging/nanohub/chub.h
drivers/staging/nanohub/chub_dbg.c
drivers/staging/nanohub/chub_ipc.c
drivers/staging/nanohub/comms.c