platform/chrome: cros_ec_chardev: To be ec_dev registered-aware
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | platform/chrome: cros_ec_chardev: Don't use wait queue's lockdrivers/ | +19 | 0 replies | |
| 2/2 | platform/chrome: cros_ec_chardev: Check ec_dev's availability in fopsdrivers/ | +14 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] platform/chrome: cros_ec_chardev: To be ec_dev registered-aware
Userland programs may wait forever for MKBP events after the underlying struct cros_ec_device has been unregistered. The series tries to return appropriate errors when detecting such possibilities.
The 1st patch is a clean-up.
The 2nd patch fixes the issue via checking the ec_dev's availability in fops.
The series applies after
"[v3,0/8] platform/chrome: cros_ec_chardev: Fix a possible UAF"
(https://patchwork.kernel.org/project/chrome-platform/cover/[email protected]/).
Tzung-Bi Shih (2):
platform/chrome: cros_ec_chardev: Don't use wait queue's lock platform/chrome: cros_ec_chardev: Check ec_dev's availability in fops
drivers/platform/chrome/cros_ec_chardev.c | 49 +++++++++++++---------- 1 file changed, 28 insertions(+), 21 deletions(-)
Signature · 1 line
2.50.0.727.gbf7dc18ff4-goog