Subject: Re: [PATCH v6 net-next 1/7] netlink: Add a macro to set policy message with format string

From: Jakub Kicinski <[email-masked]>
Date: Thu, 23 Mar 2023 09:54:54 -0700

On Thu, 23 Mar 2023 18:38:59 +0200 Shay Agroskin wrote:
> Couldn't find a way to avoid both code duplication and evaluating 
> extact only once \= Submitted a new patchset with the modified 
> version of this macro.

That's why we have the local variable called __extack, that we *can*
use multiple times, because it's a separate variable, (extack) is
evaluated only once, to initialize it...

We don't need to copy the string formatting, unless I'm missing
something. Paolo was just asking for:

-	NL_SET_ERR_MSG_FMT(extack, fmt, ##args);
+	NL_SET_ERR_MSG_FMT(__extack, fmt, ##args);

that's it.