Skip to content

mailbox: cix: clean up channel validation and error reporting

[email protected] linux-arm-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 2 repliesIn review

Changes in v2 from the cover letter

- Split into 2 separate patches per Jassi Brar review.
- Drop bounced address [email protected].

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mailbox: cix: validate fast channel index before request_irq()drivers/mailbox/cix-mailbox.c+9 -111 reply
2/2mailbox: cix: fix DT property name string typo and use dev_err_probe()drivers/mailbox/cix-mailbox.c+6 -101 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchGuomin Chen
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] mailbox: cix: clean up channel validation and error reporting

From: Surendra Singh Chouhan <[email protected]>

Per maintainer review feedback from Jassi Brar, this patch series splits the CIX mailbox driver fixes into two separate patches:

Patch 1 validates fast channel index bounds before request_irq() in cix_mbox_startup() to avoid unnecessary IRQ registration and teardown churn.

Patch 2 fixes the DT property name string typo ("cix,mbox_dir" -> "cix,mbox-dir") and converts cix_mbox_probe() error paths to dev_err_probe().

v2:
- Split into 2 separate patches per Jassi Brar review.
- Drop bounced address [email protected].

Surendra Singh Chouhan (2):
mailbox: cix: validate fast channel index before request_irq()
mailbox: cix: fix DT property name string typo and use dev_err_probe()

 drivers/mailbox/cix-mailbox.c | 36 +++++++++++++++--------------------
 1 file changed, 15 insertions(+), 21 deletions(-)
Signature · 1 line
2.55.0