HID: wacom: fix sleeping in atomic context in wacom_wac_queue_flush()
Status from this message: Applied to https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git (for-7.2/wacom), thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 1 replyApplied
- v11 patch 1 replySuperseded
Changes in v2 from the cover letter
- Replaced Suggested-by with Reported-by for Sashiko-bot
- Added patch 2 to use __free(kfree) cleanup facility (Dmitry)
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | HID: wacom: use GFP_ATOMIC in wacom_wac_queue_flush()drivers/ | +1 | 0 replies | |
| 2/2 | HID: wacom: use cleanup.h for wacom_wac_queue_flush() buffer managementdrivers/ | +1 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Dmitry Torokhov |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] HID: wacom: fix sleeping in atomic context in wacom_wac_queue_flush()
wacom_wac_queue_flush() uses GFP_KERNEL for kzalloc, but it can be called from atomic context via the .raw_event callback path. Patch 1 fixes this by switching to GFP_ATOMIC, and patch 2 converts the buffer management to use __free(kfree) cleanup as suggested by Dmitry.
Changes since v1:
- Replaced Suggested-by with Reported-by for Sashiko-bot
- Added patch 2 to use __free(kfree) cleanup facility (Dmitry)
Jinmo Yang (2):
HID: wacom: use GFP_ATOMIC in wacom_wac_queue_flush()
HID: wacom: use cleanup.h for wacom_wac_queue_flush() buffer
management
drivers/hid/wacom_sys.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
Signature · 1 line
2.53.0