aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2019-01-16 05:44:51 +0000
committerUlf Hansson <[email protected]>2019-02-25 08:40:58 +0100
commit9a633f3bfb9784fe4d12c0349e9d887e36b4a9e0 (patch)
tree66730709f5b15afa14c22973443194dec1881a0f /scripts/gdb/linux/utils.py
parent451e31935d897689b67bfd3d772af72418f6b4ce (diff)
mmc: sdhci-esdhc-imx: fix return value check in sdhci_esdhc_imx_probe()
In case of error, the function devm_kzalloc() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: fadac7488064 ("mmc: sdhci-esdhc-imx: add CMDQ support") Signed-off-by: Wei Yongjun <[email protected]> Acked-by: Adrian Hunter <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions