summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5
diff options
context:
space:
mode:
authorKunwu Chan <chentao@kylinos.cn>2024-01-15 14:34:34 +0800
committerAlex Williamson <alex.williamson@redhat.com>2024-02-22 12:14:37 -0700
commit19032628bd7ce8a39cdf0521b6418bf88c25ec80 (patch)
tree5f09cbb25bb4335e54f7698ddd6195dfbe241850 /include/linux/mlx5
parentb401b621758e46812da61fa58a67c3fd8d91de0d (diff)
downloadlinux-stable-19032628bd7ce8a39cdf0521b6418bf88c25ec80.tar.gz
linux-stable-19032628bd7ce8a39cdf0521b6418bf88c25ec80.tar.bz2
linux-stable-19032628bd7ce8a39cdf0521b6418bf88c25ec80.zip
vfio/pci: WARN_ON driver_override kasprintf failure
kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. This is a blocking notifier callback, so errno isn't a proper return value. Use WARN_ON to small allocation failures. Signed-off-by: Kunwu Chan <chentao@kylinos.cn> Link: https://lore.kernel.org/r/20240115063434.20278-1-chentao@kylinos.cn Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/linux/mlx5')
0 files changed, 0 insertions, 0 deletions