summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@kernel.org>2024-10-11 00:47:45 +0300
committerStephen Boyd <sboyd@kernel.org>2024-10-11 00:47:45 +0300
commit23dbbe8889250bed10cdd8a328d97efd15f808a7 (patch)
treed93a87b5f421f3868ac92a0ac04953e6d5a3dd12
parentad1081a0da2744141d12e94ff816ac91feb871ca (diff)
parenta03c246d4ec836ae5827a4a16f6b9e730ec5ee8c (diff)
downloadlinux-23dbbe8889250bed10cdd8a328d97efd15f808a7.tar.xz
Merge tag 'samsung-clk-fixes-6.12' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into clk-fixes
Pull a Samsung clk driver fix from Krzysztof Kozlowski: Add missing sentinel in of_device_id table so the code iterating over it will not go over the size of an array. * tag 'samsung-clk-fixes-6.12' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux: clk: samsung: Fix out-of-bound access of of_match_node()
-rw-r--r--drivers/clk/samsung/clk-exynosautov920.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/samsung/clk-exynosautov920.c b/drivers/clk/samsung/clk-exynosautov920.c
index 7ba9748c0526..f60f0a0c598d 100644
--- a/drivers/clk/samsung/clk-exynosautov920.c
+++ b/drivers/clk/samsung/clk-exynosautov920.c
@@ -1155,6 +1155,7 @@ static const struct of_device_id exynosautov920_cmu_of_match[] = {
.compatible = "samsung,exynosautov920-cmu-peric0",
.data = &peric0_cmu_info,
},
+ { }
};
static struct platform_driver exynosautov920_cmu_driver __refdata = {