summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorMa Ke <make24@iscas.ac.cn>2024-09-05 10:09:17 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-10-22 15:56:50 +0200
commit0a4d4dbef622ac8796a6665e0080da2685f9220a (patch)
tree277cdf2899b7f2efe81227ee8706c7c03e0faa3e /net/ipv4/tcp_output.c
parent4a81800ef05bea5a9896f199677f7b7f5020776a (diff)
pinctrl: apple: check devm_kasprintf() returned value
commit 665a58fe663ac7a9ea618dc0b29881649324b116 upstream. devm_kasprintf() can return a NULL pointer on failure but this returned value is not checked. Fix this lack and check the returned value. Found by code review. Cc: stable@vger.kernel.org Fixes: a0f160ffcb83 ("pinctrl: add pinctrl/GPIO driver for Apple SoCs") Signed-off-by: Ma Ke <make24@iscas.ac.cn> Reviewed-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/20240905020917.356534-1-make24@iscas.ac.cn Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions