[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240321070942.1587146-1-fshao@chromium.org>
Date: Thu, 21 Mar 2024 15:08:56 +0800
From: Fei Shao <fshao@...omium.org>
To: Mark Brown <broonie@...nel.org>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
Cc: Fei Shao <fshao@...omium.org>,
Daniel Kurtz <djkurtz@...omium.org>,
Matthias Brugger <matthias.bgg@...il.com>,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
linux-mediatek@...ts.infradead.org,
linux-spi@...r.kernel.org
Subject: [PATCH v2 0/2] Fixes NULL pointer access in spi-mt65xx.c
Hi,
This series contains two patches for spi-mt65xx.c, both focusing on its
interrupt handler mtk_spi_interrupt().
The first patch is to fix a NULL pointer access in the interrupt
handler, which is first found on a MT8186 Chromebook device when the
system tries to establish host communication with its embedded
controller.
The second one is a decorative clean-up when I'm working on the first
patch, which simply renames a variable to better follow the rest of the
code.
I put this after the first fix because I think that will make
maintainers and users slightly easier to only backport the fix if
needed.
Looking forward to any feedback, thank you.
Regards,
Fei
Changes in v2:
- Restore a missing curly brace being dropped during rebase
- Fix a typo in commit message (trans, not xfer)
Fei Shao (2):
spi: spi-mt65xx: Fix NULL pointer access in interrupt handler
spi: spi-mt65xx: Rename a variable in interrupt handler
drivers/spi/spi-mt65xx.c | 48 ++++++++++++++++++++--------------------
1 file changed, 24 insertions(+), 24 deletions(-)
--
2.44.0.396.g6e790dbe36-goog
Powered by blists - more mailing lists