From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D365C43217 for ; Wed, 19 Oct 2022 02:09:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229903AbiJSCJr (ORCPT ); Tue, 18 Oct 2022 22:09:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229720AbiJSCJq (ORCPT ); Tue, 18 Oct 2022 22:09:46 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 018A312ABC for ; Tue, 18 Oct 2022 19:09:46 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id AEC65B82035 for ; Wed, 19 Oct 2022 02:09:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C6F8AC433C1; Wed, 19 Oct 2022 02:09:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666145383; bh=1psKlUDxPEHUVdpxCvbxIlQJmKMRj1BX0OOiyvnMkhM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=KRRGSx9WiGO7+5Pc98EmkiIFIHCDecNgLG2uLeBxnxzyS6E0UH6ocbwaKRRvviMhL 0EdVOAELl7OMGMXaXkM9L9+udpRfTw/i+iej1l93Snc/M94xmyMTco+CHPHoweh1k6 LGpYJsolKiVvWb4rXuy0SFuJuHQJtyHgr37iIekcDm6iExdhtqr3phoqnnEk3FHi8L aY6tKRzAkZhiPOlv7pezKtav58h4FOjeKEIVz9jxDtrPVXpwu1UWiWzpdOseUSha6A 8voo9+6L2SLFqB9Zw89f4qufV1uOn+1jqiVpqO71en1iDclwzGy2brrnyTLuyutura hWUre+OvkRMsg== Date: Tue, 18 Oct 2022 19:09:41 -0700 From: Jakub Kicinski To: Cc: , , , , , , , , , Edward Cree Subject: Re: [PATCH v3 net-next 1/3] netlink: add support for formatted extack messages Message-ID: <20221018190941.39142f63@kernel.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, 18 Oct 2022 15:37:27 +0100 edward.cree@amd.com wrote: > From: Edward Cree > > Include an 80-byte buffer in struct netlink_ext_ack that can be used > for scnprintf()ed messages. This does mean that the resulting string > can't be enumerated, translated etc. in the way NL_SET_ERR_MSG() was > designed to allow. > > Signed-off-by: Edward Cree Reviewed-by: Jakub Kicinski Thanks!