Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
* [RFT PATCH 0/3] Fix kfree() of const memory on setting driver_override
@ 2022-02-22 13:27 Krzysztof Kozlowski
  2022-02-22 13:27 ` [RFT PATCH 1/3] clk: imx: scu: fix " Krzysztof Kozlowski
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Krzysztof Kozlowski @ 2022-02-22 13:27 UTC (permalink / raw)
  To: Abel Vesa, Michael Turquette, Stephen Boyd, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	NXP Linux Team, Bjorn Andersson, Mathieu Poirier, Andy Gross,
	Srinivas Kandagatla, linux-clk, linux-arm-kernel, linux-kernel,
	linux-remoteproc, linux-arm-msm, alsa-devel
  Cc: Krzysztof Kozlowski

Hi,

Drivers still seem to use driver_override incorrectly. Perhaps my old
patch makes sense now?
https://lore.kernel.org/all/1550484960-2392-3-git-send-email-krzk@kernel.org/

Not tested - please review and test (e.g. by writing to dirver_override
sysfs entry with KASAN enabled).

Dependencies
============
Patches are independent.

Best regards,
Krzysztof

Krzysztof Kozlowski (3):
  clk: imx: scu: fix kfree() of const memory on setting driver_override
  slimbus: qcom-ngd: fix kfree() of const memory on setting
    driver_override
  rpmsg: fix kfree() of const memory on setting driver_override

 drivers/clk/imx/clk-scu.c       |  6 +++++-
 drivers/rpmsg/rpmsg_internal.h  | 12 ++++++++++--
 drivers/rpmsg/rpmsg_ns.c        | 13 +++++++++++--
 drivers/slimbus/qcom-ngd-ctrl.c |  9 ++++++++-
 4 files changed, 34 insertions(+), 6 deletions(-)

-- 
2.32.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-02-23 17:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-22 13:27 [RFT PATCH 0/3] Fix kfree() of const memory on setting driver_override Krzysztof Kozlowski
2022-02-22 13:27 ` [RFT PATCH 1/3] clk: imx: scu: fix " Krzysztof Kozlowski
2022-02-22 13:27 ` [RFT PATCH 2/3] slimbus: qcom-ngd: " Krzysztof Kozlowski
2022-02-22 13:27 ` [RFT PATCH 3/3] rpmsg: " Krzysztof Kozlowski
2022-02-22 13:51 ` [RFT PATCH 0/3] Fix " Rasmus Villemoes
2022-02-22 14:06   ` Krzysztof Kozlowski
2022-02-23 14:04     ` Robin Murphy
2022-02-23 14:22       ` Krzysztof Kozlowski
2022-02-23 15:08         ` Robin Murphy
2022-02-23 17:04           ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox