DEVLINK_ATTR_TRAP_NAME
[DEVLINK_ATTR_TRAP_NAME] = { .type = NLA_NUL_STRING, },
[DEVLINK_ATTR_TRAP_NAME] = { .type = NLA_NUL_STRING, },
if (!info->attrs[DEVLINK_ATTR_TRAP_NAME])
attr = info->attrs[DEVLINK_ATTR_TRAP_NAME];
if (nla_put_string(msg, DEVLINK_ATTR_TRAP_NAME, trap_item->trap->name))