From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796228648; b=DfHyJkE5a2LqBpbKNGUCBVMyXn2yHwXcIqo5YplE9fHbt88RcREdFz8sbO5LkpeeHMWA 7bto/wKnNfNWfOsiJmirJNUd5McNi/5fYDM3x5geOBYP4sqzTFHqJWUOwjWCR4g/rLUQ8 H1o/CJYRyjNx565qiV9T/DW72G+Mx00eSDPNtpa0A9bdrpwuSOO6eWxyAxiEqhEcSv3F4 QCCh4IL2C7iAgpBqB4MxjoXMVkIGlAjHaWxIRkkKjARQSNPbLfpk4uEN/7gKi+aizYh1g FzMI4UNoXZ5AN+As+WpF8+X2/2Wo02D068bZPyfVRuY706QdWfchnzY8JnXHYc4hwKw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796228648; h=DMARC-Filter:DKIM-Signature:Received:X-MC-Unique: X-Mimecast-MFC-AGG-ID:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:Message-ID: Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; bh=BEKv969KUekflSQa0kwCEBnO4IijwEteoz5kVJnxCG8=; b=c2dfja56JTb9dhkkxXtwWrG/phpo6nNzYL+WIvF3zM5a6HjWiGWGJ6Ro/Ufr6JZFXKpO 4MdkecwvIsINGYw4eSzjSuh03f7dHDc/sPFXx7owVZRGQ8nA+74eaCFNp9ncRw6MjnRrh Zgs6SrZiJJe53NSA2m5r/t5/i/Eesc5ptjy60CLu3fREge1/AfwUl+zxoHKy4CeQ0kZcS DK6DTF5YqF3SVcR7TD4prMxVhpX2dclJ0nyiqFw2JkmmaV19kEMY271hjegRbV6oUhx+v AIConBZU+davAih9mhiVYl8IbIm7F2sCGNMDdultUUwHF5OWJdx0+L8K4QZUnhAcTXg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=FQuYn8AF; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=google header.b=P1wyJ6j5; arc=none smtp.remote-ip=170.10.129.124 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3742D606A332 for ; Wed, 2 Dec 2026 16:24:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 3742D606A332 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=FQuYn8AF; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=google header.b=P1wyJ6j5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1796228645; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BEKv969KUekflSQa0kwCEBnO4IijwEteoz5kVJnxCG8=; b=FQuYn8AFTQEQaIK8zLTzq8S5JRKhahchgvDHYLc99gFZrQsJAapht5423ecMkVW2D2+YgU mKiLSLTyRuSrcF0UJgESFop490XxRUEIw2NSuBby8TDCfgDTBTHHJ7l8XzAo1RqDfPSRQV 0ISwLdZG8tRoS8Ii8+BGx4vIKcrQLCw= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-103-lIuOVxozPbqtAxEEboQ6YA-1; Wed, 2 Dec 2026 16:24:02 +0000 X-MC-Unique: lIuOVxozPbqtAxEEboQ6YA-1 X-Mimecast-MFC-AGG-ID: lIuOVxozPbqtAxEEboQ6YA_1796228641 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-4a16dc2323cso93170505e9.3 for ; Wed, 02 Dec 2026 08:24:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1796228641; x=1796833441; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=BEKv969KUekflSQa0kwCEBnO4IijwEteoz5kVJnxCG8=; b=P1wyJ6j5gAcLqrgG+F+8disoq1q2y37jpJRo7IBQYXTI96owBlUfd+U+jJ6s82FTsC DlxvJjoVLqpj/mTt808LfSPFxr8TeQZUMsLMZl2/2cJeUGkJIfn+24F/7lM26IXI9dFC uS9aea15neH2d2S3GXPZi6XcMd108eTTYV2Mo+5WisPqnhQxab/XVabcYUn2dQcP0gKU EvVq5NMbxVmXwl0wACoZtUYUhTNwI6kdlaOB+qcKcsLFjVtib6BcU7MYSgRnfsDK9KzJ ZCGxDwU6hLHc2CzQBY8qOAjFgCpO51JGWsJ8HvUEj4hR8gA24ur7jxjMfgvxSBEZ3Lpt 6zKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796228641; x=1796833441; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=BEKv969KUekflSQa0kwCEBnO4IijwEteoz5kVJnxCG8=; b=E5mXMteCHnPsGk+vCp02AYyRN0tqPNMKRHlB0HaduqbD61ZHoLirtnlqLSYLDlHoE7 5o45zKu8LogdTmSV+pYWHa/nq7xEGjHwjChOG4oatY9D3XZ+724788HDCX159I2kuVON zg5ilT2D21vYkv+mwh5W63V01Huse4PUnbZE6LK+vREZaZf0lDK19z5ZxRLLE5E6ILKB eyCSIp4/ssD63kgoG6Bt1Y/uu2Pn1KKhK25WciIybvuG8osdUHcd15LMAUMaTWXyWAyU irzcYes6yk7rC2CisDhfI9UGiLNtUIFlonhofgsBaGau0U7J79ICq0v9Si4n5CjzneUS NNeQ== X-Gm-Message-State: APuU4Z8AgPh6HhblEdsiXhZ0d4pNGFWEF8wAjNyq27148ZFBFRUE0NC5 dMDKCUeibxKSFpPuOD73NmPtFUQAwYYCwGal6SHf4BipQ2WqwJVAPSlzmEDQyGrGKTY1b0uGIkg m0aGA3kU8cV/lYV5RIUJer1Xymc0tkwRgRt22wzMxe60QbiiKU8yhOSX75tX895X7jw== X-Gm-Gg: AZFdTZe2Hz1s+vRV8RkSysSdSSElk8XC+Q/nkBQ+vFSueQDl2Egmub7cUe76SQM+t8O LvbeDmFzXgqMLEBVNWX3UImTzxpK8JYL1LaNfEsWRJKQ+4I3p4bxK73abOK7MsG2nj7tWaKeIKX GleG5Bgl3vr2DI0AP8t0rc40uDJDTS/+354gjuLLqkSxXuBK5KYwrn/XJYAlzLhFrmzlcCp2/WX 6uiRNGAgnqeI3YDN9d+6qJaJXQezbDCZEVEBYjODUV33i49ZQ/hO1DgMidqC+FS0XGuZ1C0YqST OBDlzN9AlmqEGlsSH5rUprO1okayhQ7q4uu5NhgkN9dYutzgg1pdEnnVtjfRJlEX08VQ4d7q7VX DH2DgYKC7mhWcr34XRkp3G0kY1OqCfITGijI8xxOKXP+mvHnmOvTAPklLmEJLwUeP8je3KljMqI hRWneTmHNyMkvPtM25Y0jhDhsrRY3r7BGP7qdnpQAtDxQ= X-Received: by 2002:a05:600c:c173:b0:4a1:813f:2a60 with SMTP id 5b1f17b1804b1-4bb88800134mr795379305e9.11.1796228640901; Wed, 02 Dec 2026 08:24:00 -0800 (PST) X-Received: by 2002:a05:600c:c173:b0:4a1:813f:2a60 with SMTP id 5b1f17b1804b1-4bb88800134mr795378495e9.11.1796228640400; Wed, 02 Dec 2026 08:24:00 -0800 (PST) Received: from [192.168.88.30] (ip231-128-192-82.pool-bba.aruba.it. [82.192.128.231]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4ab6c61f558sm80304328f8f.58.2026.12.02.08.23.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Dec 2026 08:23:59 -0800 (PST) Message-ID: <32654b3f-76ba-4830-b351-1bfcf93cf740@redhat.com> Date: Wed, 2 Dec 2026 17:23:58 +0100 X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next 01/15] batman-adv: document refcount of returned objects To: Sven Eckelmann , sw@simonwunderlich.de, netdev-bot+sashiko@kernel.org Cc: netdev@vger.kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, horms@kernel.org, b.a.t.m.a.n@lists.open-mesh.org References: <20261123171827.3294525-2-sw@simonwunderlich.de> <179554083742.3135.4885971613759489815@kernel.org> <2939196.BEx9A2HvPv@sven-desktop> Content-Language: en-US From: Paolo Abeni In-Reply-To: <2939196.BEx9A2HvPv@sven-desktop> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, On 11/24/26 22:11, Sven Eckelmann wrote: > On Tuesday, 24 November 2026 18:20:37 CET netdev-bot+sashiko@kernel.org wrote: >> Earlier, the message gives "(with increased refcnt)" as an example of >> wording that already documents this. The diff then removes that wording >> and rewrites it in batadv_gw_get_selected_gw_node(), >> batadv_gw_get_selected_orig(), batadv_hardif_get_by_netdev(), >> batadv_primary_if_get_selected(), batadv_orig_hash_find() and all of the >> netlink.c getters. >> >> The same happens to "with an initialized reference counter" in >> batadv_tt_local_create() and batadv_tt_global_create(). It also happens to >> "it with an increased refcounter" in batadv_tt_global_orig_entry_find(). >> >> On the other hand, the other existing phrasing is left alone: >> >> * The object is returned with refcounter increased by 1. >> >> It is still in batadv_orig_node_vlan_new(), batadv_orig_router_get(), >> batadv_orig_ifinfo_get(), batadv_orig_ifinfo_new(), >> batadv_neigh_ifinfo_get(), batadv_neigh_ifinfo_new() and >> batadv_last_bonding_get(). > > > Will sync the remaining kernel-doc in a follow up patch: Picking this reply randomly to share a few tips that will possible make future PRs easier. Note that this PR is fine. I'll merge it soon. Sashiko comments with 'Low' prio could be safely ignored. Ask for fixes tag and cc: stable for net-next should be ignored (as you already inferred). Sashiko has problems with patch dependencies, should be ignored (as you already inferred). Note that ATM we are not opposing to fixes tag in net-next patches, where/when it make sense, because Linus explicitly asked to redirect low impact non regression fixes to net-next, even if they are actually fixes. Such patches could carry a fixes tag. This is different from what used to be little time ago, because the context is changing rapidly. For the same reason is not explicitly stated in the documentation. Thanks, Paolo