linux-stable/drivers/net/ethernet/microchip/vcap
Li Zetao 58e701264f 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>
2023-08-04 09:00:23 +01:00
..
Kconfig net: microchip: sparx5: Add VCAP debugfs KUNIT test 2022-11-21 11:33:02 +00:00
Makefile net: microchip: vcap: Add tc flower keys for lan966x 2023-02-10 08:03:09 +00:00
vcap_ag_api.h net: lan966x: Add ES0 VCAP model 2023-05-10 09:51:10 +01:00
vcap_api.c net: microchip: vcap api: Use ERR_CAST() in vcap_decode_rule() 2023-08-04 09:00:23 +01:00
vcap_api.h net: microchip: sparx5: Add ingress information to VCAP instance 2023-01-30 07:36:22 +00:00
vcap_api_client.h net: microchip: sparx5: Provide rule count, key removal and keyset select 2023-03-08 13:19:43 +00:00
vcap_api_debugfs.c net: microchip: sparx5: Add ingress information to VCAP instance 2023-01-30 07:36:22 +00:00
vcap_api_debugfs.h net: microchip: sparx5: Add VCAP debugFS support 2022-11-21 11:33:02 +00:00
vcap_api_debugfs_kunit.c net: lan966x: Add IS1 VCAP model 2023-03-10 16:44:24 -08:00
vcap_api_kunit.c net: microchip: sparx5: reduce stack usage 2023-02-20 10:50:47 +00:00
vcap_api_private.h net: microchip: sparx5: Add VCAP admin locking in debugFS 2023-01-18 14:31:43 +00:00
vcap_model_kunit.c net: microchip: sparx5: Add ES0 VCAP model and updated KUNIT VCAP model 2023-02-16 08:59:48 +01:00
vcap_model_kunit.h net: microchip: sparx5: Add ES0 VCAP model and updated KUNIT VCAP model 2023-02-16 08:59:48 +01:00
vcap_tc.c net: flow_dissector: Use 64bits for used_keys 2023-07-31 09:11:24 +01:00
vcap_tc.h net: flow_dissector: Use 64bits for used_keys 2023-07-31 09:11:24 +01:00