/openbmc/linux/scripts/coccinelle/misc/ |
H A D | newline_in_nl_msg.cocci | 3 /// Catch strings ending in newline with GENL_SET_ERR_MSG, NL_SET_ERR_MSG, 20 \(GENL_SET_ERR_MSG\|NL_SET_ERR_MSG\|NL_SET_ERR_MSG_MOD\)(e,m@p)
|
/openbmc/linux/net/core/ |
H A D | net_namespace.c | 768 NL_SET_ERR_MSG(extack, "nsid is missing"); in rtnl_net_newid() 780 NL_SET_ERR_MSG(extack, "Peer netns reference is missing"); in rtnl_net_newid() 785 NL_SET_ERR_MSG(extack, "Peer netns reference is invalid"); in rtnl_net_newid() 794 NL_SET_ERR_MSG(extack, in rtnl_net_newid() 808 NL_SET_ERR_MSG(extack, "The specified nsid is already used"); in rtnl_net_newid() 890 NL_SET_ERR_MSG(extack, "Unsupported attribute in peer netns getid request"); in rtnl_net_valid_getid_req() 928 NL_SET_ERR_MSG(extack, "Peer netns reference is missing"); in rtnl_net_getid() 934 NL_SET_ERR_MSG(extack, "Peer netns reference is invalid"); in rtnl_net_getid() 944 NL_SET_ERR_MSG(extack, in rtnl_net_getid() 1030 NL_SET_ERR_MSG(extack, in rtnl_valid_dump_net_req() [all …]
|
H A D | lwtunnel.c | 157 NL_SET_ERR_MSG(extack, "Unknown lwt encapsulation type"); in lwtunnel_valid_encap_type() 181 NL_SET_ERR_MSG(extack, "lwt encapsulation type not supported"); in lwtunnel_valid_encap_type() 204 NL_SET_ERR_MSG(extack, "Invalid RTA_ENCAP_TYPE"); in lwtunnel_valid_encap_type_attr()
|
H A D | neighbour.c | 1316 NL_SET_ERR_MSG(extack, "Neighbor entry is now dead"); in __neigh_update() 1366 NL_SET_ERR_MSG(extack, "No link layer address given"); in __neigh_update() 1911 NL_SET_ERR_MSG(extack, "Network address not specified"); in neigh_delete() 1929 NL_SET_ERR_MSG(extack, "Invalid network address"); in neigh_delete() 1983 NL_SET_ERR_MSG(extack, "Network address not specified"); in neigh_add() 2005 NL_SET_ERR_MSG(extack, "Invalid link address"); in neigh_add() 2015 NL_SET_ERR_MSG(extack, "Invalid network address"); in neigh_add() 2044 NL_SET_ERR_MSG(extack, "Device not specified"); in neigh_add() 3044 NL_SET_ERR_MSG(extack, "Unknown device ifindex"); in neigh_get() 3067 NL_SET_ERR_MSG(extack, "No device specified"); in neigh_get() [all …]
|
/openbmc/linux/net/sched/ |
H A D | sch_mqprio_lib.c | 77 NL_SET_ERR_MSG(extack, in mqprio_validate_qopt() 85 NL_SET_ERR_MSG(extack, in mqprio_validate_qopt()
|
H A D | cls_flower.c | 808 NL_SET_ERR_MSG(extack, in fl_set_key_spi() 838 NL_SET_ERR_MSG(extack, in fl_set_key_port_range() 843 NL_SET_ERR_MSG(extack, in fl_set_key_port_range() 979 NL_SET_ERR_MSG(extack, in fl_set_key_mpls_opts() 1157 NL_SET_ERR_MSG(extack, "Missing flags mask"); in fl_set_key_flags() 1482 NL_SET_ERR_MSG(extack, "Key and mask miss aligned"); in fl_set_enc_opt() 1512 NL_SET_ERR_MSG(extack, "Key and mask miss aligned"); in fl_set_enc_opt() 1542 NL_SET_ERR_MSG(extack, "Key and mask miss aligned"); in fl_set_enc_opt() 1579 NL_SET_ERR_MSG(extack, "Unknown tunnel option type"); in fl_set_enc_opt() 1587 NL_SET_ERR_MSG(extack, "A mask attribute is invalid"); in fl_set_enc_opt() [all …]
|
H A D | sch_cbs.c | 285 NL_SET_ERR_MSG(extack, "Specified device does not support cbs offload"); in cbs_enable_offload() 299 NL_SET_ERR_MSG(extack, "Specified device failed to setup cbs hardware offload"); in cbs_enable_offload() 376 NL_SET_ERR_MSG(extack, "Missing CBS parameter which are mandatory"); in cbs_change() 408 NL_SET_ERR_MSG(extack, "Missing CBS qdisc options which are mandatory"); in cbs_init()
|
H A D | act_gate.c | 187 NL_SET_ERR_MSG(extack, "Invalid interval for schedule entry"); in fill_gate_entry() 214 NL_SET_ERR_MSG(extack, "Could not parse nested entry"); in parse_gate_entry() 247 NL_SET_ERR_MSG(extack, "Attribute isn't type 'entry'"); in parse_gate_list() 253 NL_SET_ERR_MSG(extack, "Not enough memory for entry"); in parse_gate_list() 346 NL_SET_ERR_MSG(extack, "Invalid 'clockid'"); in tcf_gate_init()
|
/openbmc/linux/net/ipv6/ |
H A D | mip6.c | 253 NL_SET_ERR_MSG(extack, "SPI must be 0"); in mip6_destopt_init_state() 257 NL_SET_ERR_MSG(extack, "XFRM mode must be XFRM_MODE_ROUTEOPTIMIZATION"); in mip6_destopt_init_state() 338 NL_SET_ERR_MSG(extack, "SPI must be 0"); in mip6_rthdr_init_state() 342 NL_SET_ERR_MSG(extack, "XFRM mode must be XFRM_MODE_ROUTEOPTIMIZATION"); in mip6_rthdr_init_state()
|
H A D | ah6.c | 676 NL_SET_ERR_MSG(extack, "AH requires a state with an AUTH algorithm"); in ah6_init_state() 681 NL_SET_ERR_MSG(extack, "AH is not compatible with encapsulation"); in ah6_init_state() 691 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in ah6_init_state() 698 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in ah6_init_state() 713 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in ah6_init_state() 730 NL_SET_ERR_MSG(extack, "Invalid mode requested for AH, must be one of TRANSPORT, TUNNEL, BEET"); in ah6_init_state()
|
H A D | esp6.c | 1064 NL_SET_ERR_MSG(extack, "Algorithm name is too long"); in esp_init_aead() 1087 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in esp_init_aead() 1112 NL_SET_ERR_MSG(extack, "Algorithm name is too long"); in esp_init_authenc() 1122 NL_SET_ERR_MSG(extack, "Algorithm name is too long"); in esp_init_authenc() 1130 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in esp_init_authenc() 1162 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in esp_init_authenc() 1169 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in esp_init_authenc() 1199 NL_SET_ERR_MSG(extack, "ESP: AEAD or CRYPT must be provided"); in esp6_init_state() 1229 NL_SET_ERR_MSG(extack, "Unsupported encapsulation type for ESP"); in esp6_init_state()
|
H A D | ipcomp6.c | 152 NL_SET_ERR_MSG(extack, "Unsupported XFRM mode for IPcomp"); in ipcomp6_init_state() 163 NL_SET_ERR_MSG(extack, "Kernel error: failed to initialize the associated state"); in ipcomp6_init_state()
|
H A D | ioam6_iptunnel.c | 126 NL_SET_ERR_MSG(extack, "freq: missing parameter"); in ioam6_build_state() 136 NL_SET_ERR_MSG(extack, "freq: k > n is forbidden"); in ioam6_build_state() 147 NL_SET_ERR_MSG(extack, "this mode needs a tunnel destination"); in ioam6_build_state() 152 NL_SET_ERR_MSG(extack, "missing trace"); in ioam6_build_state()
|
/openbmc/linux/net/ipv4/ |
H A D | netlink.c | 30 NL_SET_ERR_MSG(extack, "Unsupported ip proto"); in rtm_getroute_parse_ip_proto()
|
H A D | ah4.c | 481 NL_SET_ERR_MSG(extack, "AH requires a state with an AUTH algorithm"); in ah_init_state() 486 NL_SET_ERR_MSG(extack, "AH is not compatible with encapsulation"); in ah_init_state() 496 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in ah_init_state() 503 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in ah_init_state() 518 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in ah_init_state()
|
H A D | esp4.c | 1021 NL_SET_ERR_MSG(extack, "Algorithm name is too long"); in esp_init_aead() 1044 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in esp_init_aead() 1069 NL_SET_ERR_MSG(extack, "Algorithm name is too long"); in esp_init_authenc() 1079 NL_SET_ERR_MSG(extack, "Algorithm name is too long"); in esp_init_authenc() 1087 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in esp_init_authenc() 1119 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in esp_init_authenc() 1126 NL_SET_ERR_MSG(extack, "Kernel was unable to initialize cryptographic operations"); in esp_init_authenc() 1156 NL_SET_ERR_MSG(extack, "ESP: AEAD or CRYPT must be provided"); in esp_init_state() 1176 NL_SET_ERR_MSG(extack, "Unsupported encapsulation type for ESP"); in esp_init_state()
|
H A D | ipcomp.c | 133 NL_SET_ERR_MSG(extack, "Unsupported XFRM mode for IPcomp"); in ipcomp4_init_state() 144 NL_SET_ERR_MSG(extack, "Kernel error: failed to initialize the associated state"); in ipcomp4_init_state()
|
H A D | devinet.c | 512 NL_SET_ERR_MSG(extack, "ipv4: Invalid scope value"); in __inet_insert_ifa() 668 NL_SET_ERR_MSG(extack, "ipv4: Device not found"); in inet_rtm_deladdr() 693 NL_SET_ERR_MSG(extack, "ipv4: Address not found"); in inet_rtm_deladdr() 847 NL_SET_ERR_MSG(extack, "ipv4: Invalid prefix length"); in rtm_to_ifaddr() 852 NL_SET_ERR_MSG(extack, "ipv4: Local address is not supplied"); in rtm_to_ifaddr() 859 NL_SET_ERR_MSG(extack, "ipv4: Device not found"); in rtm_to_ifaddr() 913 NL_SET_ERR_MSG(extack, "ipv4: address lifetime invalid"); in rtm_to_ifaddr() 971 NL_SET_ERR_MSG(extack, "ipv4: Multicast auto join failed"); in inet_rtm_newaddr() 986 NL_SET_ERR_MSG(extack, "ipv4: Address already assigned"); in inet_rtm_newaddr() 1787 NL_SET_ERR_MSG(extack, "ipv4: Invalid target network namespace id"); in inet_valid_dump_ifaddr_req() [all …]
|
/openbmc/linux/net/devlink/ |
H A D | region.c | 650 NL_SET_ERR_MSG(info->extack, "No region name provided"); in devlink_nl_cmd_region_new() 670 NL_SET_ERR_MSG(info->extack, "The requested region does not exist"); in devlink_nl_cmd_region_new() 675 …NL_SET_ERR_MSG(info->extack, "The requested region does not support taking an immediate snapshot"); in devlink_nl_cmd_region_new() 682 NL_SET_ERR_MSG(info->extack, "The region has reached the maximum number of stored snapshots"); in devlink_nl_cmd_region_new() 692 NL_SET_ERR_MSG(info->extack, "The requested snapshot id is already in use"); in devlink_nl_cmd_region_new() 703 NL_SET_ERR_MSG(info->extack, "Failed to allocate a new snapshot id"); in devlink_nl_cmd_region_new() 891 NL_SET_ERR_MSG(cb->extack, "No region name provided"); in devlink_nl_cmd_region_read_dumpit() 923 NL_SET_ERR_MSG(cb->extack, "No snapshot id provided"); in devlink_nl_cmd_region_read_dumpit() 929 NL_SET_ERR_MSG(cb->extack, "Requested region does not support direct read"); in devlink_nl_cmd_region_read_dumpit()
|
H A D | port.c | 326 NL_SET_ERR_MSG(extack, "Invalid state read from driver"); in devlink_port_fn_state_fill() 331 NL_SET_ERR_MSG(extack, "Invalid operational state read from driver"); in devlink_port_fn_state_fill() 626 NL_SET_ERR_MSG(extack, "Port function hardware address too long"); in devlink_port_function_hw_addr_set() 631 NL_SET_ERR_MSG(extack, "Address must be 6 bytes for Ethernet device"); in devlink_port_function_hw_addr_set() 635 NL_SET_ERR_MSG(extack, "Non-unicast hardware address unsupported"); in devlink_port_function_hw_addr_set() 733 NL_SET_ERR_MSG(extack, "Fail to parse port function attributes"); in devlink_port_function_set() 810 NL_SET_ERR_MSG(info->extack, "Port cannot be split further"); in devlink_nl_cmd_port_split_doit() 812 NL_SET_ERR_MSG(info->extack, "Port cannot be split"); in devlink_nl_cmd_port_split_doit() 817 NL_SET_ERR_MSG(info->extack, "Invalid split count"); in devlink_nl_cmd_port_split_doit() 850 NL_SET_ERR_MSG(extack, "Port flavour or PCI PF are not specified"); in devlink_nl_cmd_port_new_doit()
|
H A D | dev.c | 335 NL_SET_ERR_MSG(info->extack, "multiple netns identifying attributes specified"); in devlink_netns_get() 353 NL_SET_ERR_MSG(info->extack, "Unknown network namespace"); in devlink_netns_get() 456 NL_SET_ERR_MSG(info->extack, "resources size validation failed"); in devlink_nl_cmd_reload() 466 NL_SET_ERR_MSG(info->extack, "Requested reload action is not supported by the driver"); in devlink_nl_cmd_reload() 478 NL_SET_ERR_MSG(info->extack, "Invalid limit selected"); in devlink_nl_cmd_reload() 486 NL_SET_ERR_MSG(info->extack, "Multiselection of limit is not supported"); in devlink_nl_cmd_reload() 490 NL_SET_ERR_MSG(info->extack, "Requested limit is not supported by the driver"); in devlink_nl_cmd_reload() 494 NL_SET_ERR_MSG(info->extack, "Requested limit is invalid for this action"); in devlink_nl_cmd_reload()
|
/openbmc/linux/include/linux/ |
H A D | netlink.h | 98 #define NL_SET_ERR_MSG(extack, msg) do { \ macro 128 NL_SET_ERR_MSG((extack), KBUILD_MODNAME ": " msg) 135 NL_SET_ERR_MSG((extack), msg); \
|
/openbmc/linux/drivers/net/pse-pd/ |
H A D | pse_core.c | 274 NL_SET_ERR_MSG(extack, in pse_ethtool_get_status() 303 NL_SET_ERR_MSG(extack, in pse_ethtool_set_config()
|
/openbmc/linux/net/mpls/ |
H A D | af_mpls.c | 947 NL_SET_ERR_MSG(extack, in mpls_label_ok() 954 NL_SET_ERR_MSG(extack, in mpls_label_ok() 1747 NL_SET_ERR_MSG(extack, "Too many labels"); in nla_get_labels() 1779 NL_SET_ERR_MSG(extack, in nla_get_labels() 1782 NL_SET_ERR_MSG(extack, in nla_get_labels() 1834 NL_SET_ERR_MSG(extack, "rtm_src_len must be 0 for MPLS"); in rtm_to_route_config() 1838 NL_SET_ERR_MSG(extack, "rtm_tos must be 0 for MPLS"); in rtm_to_route_config() 1842 NL_SET_ERR_MSG(extack, in rtm_to_route_config() 1853 NL_SET_ERR_MSG(extack, in rtm_to_route_config() 1858 NL_SET_ERR_MSG(extack, in rtm_to_route_config() [all …]
|
/openbmc/linux/drivers/net/vxlan/ |
H A D | vxlan_core.c | 995 NL_SET_ERR_MSG(extack, in vxlan_fdb_update_existing() 1001 NL_SET_ERR_MSG(extack, in vxlan_fdb_update_existing() 3343 NL_SET_ERR_MSG(extack, in vxlan_validate() 3617 NL_SET_ERR_MSG(extack, in vxlan_config_validate() 3634 NL_SET_ERR_MSG(extack, in vxlan_config_validate() 3646 NL_SET_ERR_MSG(extack, in vxlan_config_validate() 3682 NL_SET_ERR_MSG(extack, in vxlan_config_validate() 3692 NL_SET_ERR_MSG(extack, in vxlan_config_validate() 3712 NL_SET_ERR_MSG(extack, in vxlan_config_validate() 3720 NL_SET_ERR_MSG(extack, in vxlan_config_validate() [all …]
|