diff options
author | Wei Yongjun <[email protected]> | 2021-11-01 14:02:35 +0000 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2021-11-06 22:09:37 +0100 |
commit | c80be257a4cd0f72c083e6056ff0ce2da871e9dc (patch) | |
tree | 22ee45d3b818e25cdc5036d63f2ae62f7603fc50 /fs/btrfs/disk-io.c | |
parent | fe91c4725aeed35023ba4f7a1e1adfebb6878c23 (diff) |
i2c: xgene-slimpro: Fix wrong pointer passed to PTR_ERR()
PTR_ERR should access the value just tested by IS_ERR, otherwise
the wrong error code will be returned.
Fixes: 7b6da7fe7bba ("mailbox: pcc: Use PCC mailbox channel pointer instead of standard")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Reviewed-by: Sudeep Holla <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'fs/btrfs/disk-io.c')
0 files changed, 0 insertions, 0 deletions