[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220222132707.266883-1-krzysztof.kozlowski@canonical.com>
Date: Tue, 22 Feb 2022 14:27:04 +0100
From: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
To: Abel Vesa <abel.vesa@....com>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Fabio Estevam <festevam@...il.com>,
NXP Linux Team <linux-imx@....com>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Mathieu Poirier <mathieu.poirier@...aro.org>,
Andy Gross <agross@...nel.org>,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
linux-clk@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-remoteproc@...r.kernel.org,
linux-arm-msm@...r.kernel.org, alsa-devel@...a-project.org
Cc: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
Subject: [RFT PATCH 0/3] Fix kfree() of const memory on setting driver_override
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
Powered by blists - more mailing lists