diff options
| author | Kunwu Chan <[email protected]> | 2024-01-15 14:34:34 +0800 |
|---|---|---|
| committer | Alex Williamson <[email protected]> | 2024-02-22 12:14:37 -0700 |
| commit | 19032628bd7ce8a39cdf0521b6418bf88c25ec80 (patch) | |
| tree | 5f09cbb25bb4335e54f7698ddd6195dfbe241850 /net/unix/af_unix.c | |
| parent | b401b621758e46812da61fa58a67c3fd8d91de0d (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions