diff options
| author | Miaoqian Lin <[email protected]> | 2021-12-22 11:18:23 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-01-06 14:26:21 +0000 |
| commit | b52fe2dbb3e655eb1483000adfab68a219549e13 (patch) | |
| tree | daab9a55440b872ee78d27bb15295786ac224992 /fs/ext4/fast_commit.c | |
| parent | headers/deps: USB: Optimize <linux/usb/ch9.h> dependencies, remove <linux/dev... (diff) | |
| download | kernel-b52fe2dbb3e655eb1483000adfab68a219549e13.tar.gz kernel-b52fe2dbb3e655eb1483000adfab68a219549e13.zip | |
usb: dwc3: qcom: Fix NULL vs IS_ERR checking in dwc3_qcom_probe
Since the acpi_create_platform_device() function may return error
pointers, dwc3_qcom_create_urs_usb_platdev() function may return error
pointers too. Using IS_ERR_OR_NULL() to check the return value to fix this.
Fixes: c25c210f590e ("usb: dwc3: qcom: add URS Host support for sdm845 ACPI boot")
Signed-off-by: Miaoqian Lin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions
