Skip to content

Commit

Permalink
Merge tag 'samsung-clk-fixes-6.12' of https://git.kernel.org/pub/scm/…
Browse files Browse the repository at this point in the history
…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()
  • Loading branch information
bebarino committed Oct 10, 2024
2 parents ad1081a + a03c246 commit 23dbbe8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/clk/samsung/clk-exynosautov920.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 23dbbe8

Please sign in to comment.