summaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorLi Zetao <lizetao1@huawei.com>2023-08-02 17:31:56 +0800
committerDavid S. Miller <davem@davemloft.net>2023-08-04 09:00:23 +0100
commit58e701264f15a8984136f4997faf99cb22b121f3 (patch)
tree8c65c7a8a4a8980a6147fa26e5ecae61a7b689b4 /drivers/fpga/fpga-bridge.c
parentf702dbbb9fc25de45d9d0fc2572f62b4b22cef16 (diff)
net: microchip: vcap api: Use ERR_CAST() in vcap_decode_rule()
There is a warning reported by coccinelle: ./drivers/net/ethernet/microchip/vcap/vcap_api.c:2399:9-16: WARNING: ERR_CAST can be used with ri Use ERR_CAST instead of ERR_PTR + PTR_ERR to simplify the conversion process. Signed-off-by: Li Zetao <lizetao1@huawei.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions