Skip to content

Commit f833a65

Browse files
Asbjørn Sloth Tønnesenkuba-moo
authored andcommitted
net: qede: add extack in qede_add_tc_flower_fltr()
Define extack locally, to reduce line lengths and aid future users. Only compile tested. Signed-off-by: Asbjørn Sloth Tønnesen <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 9c8f5ed commit f833a65

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/net/ethernet/qlogic/qede/qede_filter.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1876,6 +1876,7 @@ qede_parse_flow_attr(struct qede_dev *edev, __be16 proto,
18761876
int qede_add_tc_flower_fltr(struct qede_dev *edev, __be16 proto,
18771877
struct flow_cls_offload *f)
18781878
{
1879+
struct netlink_ext_ack *extack = f->common.extack;
18791880
struct qede_arfs_fltr_node *n;
18801881
struct qede_arfs_tuple t;
18811882
int min_hlen, rc;
@@ -1903,7 +1904,7 @@ int qede_add_tc_flower_fltr(struct qede_dev *edev, __be16 proto,
19031904
}
19041905

19051906
/* parse tc actions and get the vf_id */
1906-
rc = qede_parse_actions(edev, &f->rule->action, f->common.extack);
1907+
rc = qede_parse_actions(edev, &f->rule->action, extack);
19071908
if (rc)
19081909
goto unlock;
19091910

0 commit comments

Comments
 (0)