|
@@ -112,7 +112,7 @@ static inline void genl_info_net_set(struct genl_info *info, struct net *net)
|
|
#define GENL_SET_ERR_MSG(info, msg) NL_SET_ERR_MSG((info)->extack, msg)
|
|
#define GENL_SET_ERR_MSG(info, msg) NL_SET_ERR_MSG((info)->extack, msg)
|
|
|
|
|
|
static inline int genl_err_attr(struct genl_info *info, int err,
|
|
static inline int genl_err_attr(struct genl_info *info, int err,
|
|
- struct nlattr *attr)
|
|
|
|
|
|
+ const struct nlattr *attr)
|
|
{
|
|
{
|
|
info->extack->bad_attr = attr;
|
|
info->extack->bad_attr = attr;
|
|
|
|
|