[lkml]   [2019]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] hid: hid-picolcd: fix possible sleep-in-atomic-context bug
Thanks for the reply.

On 2019/12/18 16:41, Bruno Prémont wrote:
> Hi Jia-Ju,
> Your checker has been looking at fallback implementation for
> the might-sleep hid_alloc_report_buf(GFP_KERNEL).
> Did you have a look at the low-lever bus-driver implementations:
> hdev->ll_driver->request
> ^^^^^^^
> Are those all sleeping as well or maybe they don't sleep?\

In fact, I find that a function possibly-related to this function
pointer can sleep:

drivers/hid/intel-ish-hid/ishtp-hid.c, 97:
    kzalloc(GFP_KERNEL) in ishtp_hid_request

But I am not quite sure whether this function is really referenced by
the function pointer, so I did not report it.

Best wishes,
Jia-Ju Bai

 \ /
  Last update: 2019-12-18 13:12    [W:0.033 / U:2.668 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site