aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorYi Yang <yiyang13@huawei.com>2023-10-19 06:55:48 +0000
committerMiquel Raynal <miquel.raynal@bootlin.com>2023-10-27 19:43:20 +0200
commit5a985960a4dd041c21dbe9956958c1633d2da706 (patch)
treef458358c3eeeece63bf19cccffbd39ea1be7fa2a /scripts/generate_rust_analyzer.py
parentmtd: rawnand: intel: check return value of devm_kasprintf() (diff)
downloadlinux-rng-5a985960a4dd041c21dbe9956958c1633d2da706.tar.xz
linux-rng-5a985960a4dd041c21dbe9956958c1633d2da706.zip
mtd: rawnand: meson: check return value of devm_kasprintf()
devm_kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. Ensure the allocation was successful by checking the pointer validity. Fixes: 1e4d3ba66888 ("mtd: rawnand: meson: fix the clock") Signed-off-by: Yi Yang <yiyang13@huawei.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20231019065548.318443-1-yiyang13@huawei.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions