[NEUS7920-133]wlbt: Return -EACCES from scsc_bt_shm_h4_read when copy_from_user fails
authorJes Andersen <jes.andersen@samsung.com>
Thu, 21 Mar 2019 11:22:37 +0000 (12:22 +0100)
committerYoungmin Nam <youngmin.nam@samsung.com>
Tue, 21 May 2019 10:45:22 +0000 (19:45 +0900)
commit47d227f5b442c00ea85ee4670dde161ad1b78448
tree57a0cc5710ad8faf6d790e0ae2624f682d01b557
parent074dd3dc027799514fbf6cbfb226ddde00530518
[NEUS7920-133]wlbt: Return -EACCES from scsc_bt_shm_h4_read when copy_from_user fails

Otherwise it could end up in an infinite loop.

Change-Id: I98d2729e669c8846e3c1e939fc3453f957ae2a3e
SCSC-Bug-Id: SSB-45750
Signed-off-by: Jes Andersen <jes.andersen@samsung.com>
drivers/misc/samsung/scsc_bt/scsc_shm.c