pinctrl: Fix out-of-bounds accesses, divide-by-zero, and error handling
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 1 replyIn review
- v110 patches 17 repliesSuperseded
Changes in v2 from the cover letter
- Drop patches 05/10, 06/10, 07/10, and 10/10, already applied to pinctrl for-next
- Drop patch 01/10 (sunxi) in favour of the broader Allwinner IRQ-bank rework in flight (Andre, Sashiko)
- mediatek: Guard against NULL eint in mtk_eint_do_suspend() and mtk_eint_do_resume() before resetting hw->eint to NULL on error (Sashiko)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | pinctrl: tegra186: Fix out-of-bounds register bank index for AON drive groupsdrivers/ | +51 | 0 replies | |
| 2/6 | pinctrl: ingenic: Fix element type of x1600_sfc_funcs arraydrivers/ | +1 | 0 replies | |
| 3/6 | pinctrl: mediatek: mt7981: Add missing entries to mt7981_ant_sel_funcsdrivers/ | +1 | 1 reply | |
| 4/6 | pinctrl: mediatek: Guard against NULL eint in mtk_eint_do_suspend() and mtk_eint_do_resume()drivers/ | +6 | 0 replies | |
| 5/6 | pinctrl: mediatek: Clean up partially initialised hw->eint on errordrivers/ | +8 | 0 replies | |
| 6/6 | pinctrl: mediatek: Prevent divide-by-zero for pins with fixed drive strengthdrivers/ | +12 | 0 replies |
Reviews trailers per patch
2 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Thierry Reding | Daniel Golle |
|---|---|---|
| 1/6 | R-b | |
| 2/6 | ||
| 3/6 | R-b | |
| 4/6 | ||
| 5/6 | ||
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/6] pinctrl: Fix out-of-bounds accesses, divide-by-zero, and error handling
These issues were reported by Sashiko.
v1 => v2:
- Drop patches 05/10, 06/10, 07/10, and 10/10, already applied to pinctrl for-next
- Drop patch 01/10 (sunxi) in favour of the broader Allwinner IRQ-bank rework in flight (Andre, Sashiko)
- mediatek: Guard against NULL eint in mtk_eint_do_suspend() and mtk_eint_do_resume() before resetting hw->eint to NULL on error (Sashiko)
v1: https://lore.kernel.org/all/[email protected]/
Lee Jones (6):
pinctrl: tegra186: Fix out-of-bounds register bank index for AON drive
groups
pinctrl: ingenic: Fix element type of x1600_sfc_funcs array
pinctrl: mediatek: mt7981: Add missing entries to mt7981_ant_sel_funcs
pinctrl: mediatek: Guard against NULL eint in mtk_eint_do_suspend()
and mtk_eint_do_resume()
pinctrl: mediatek: Clean up partially initialised hw->eint on error
pinctrl: mediatek: Prevent divide-by-zero for pins with fixed drive
strength
drivers/pinctrl/mediatek/mtk-eint.c | 6 ++ drivers/pinctrl/mediatek/pinctrl-mt7981.c | 2 +- .../pinctrl/mediatek/pinctrl-mtk-common-v2.c | 24 ++++- drivers/pinctrl/pinctrl-ingenic.c | 2 +- drivers/pinctrl/tegra/pinctrl-tegra186.c | 102 +++++++++--------- 5 files changed, 79 insertions(+), 57 deletions(-)
Signature · 1 line
2.56.1.750.gf70dc682cf-goog