Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1579786lqm; Thu, 2 May 2024 22:38:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWQqkAN17w6HAtbtRYSvYs9FwYTiLBcGCHgRBC9J75/fCrwqS/r1C6ZFHcs3gHi7lU4VMau1jzZlLI/Pm8qCpbk4a06BJFNmjUZrLkqnA== X-Google-Smtp-Source: AGHT+IF/A0CXavFOvbupExSb6YC3juPV/mYmMT807B4wjsJ+TMYg+PKuTcfuTjxkMZH06wE8FmBt X-Received: by 2002:a05:6214:252a:b0:6a0:cfde:b8d with SMTP id gg10-20020a056214252a00b006a0cfde0b8dmr1964220qvb.25.1714714688876; Thu, 02 May 2024 22:38:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714714688; cv=pass; d=google.com; s=arc-20160816; b=WZWaZoc3AyfrKA/YVlt1ozQAsD6XheEIXG6u/6r6vZor2wna1A7vAlU/duvKIJgvyI NN6g8h0/XdnArYyDSCibyucINo8CLLVvzk9vV8MA8ydVjTkyymUerns3iFWGjo/jN0mK zdu+IeWyQYCSFoSNZ/38u0Ll2a5ejMy7iO+xskuc7AmchaKg76ZvWPEsPIstzQPsLDTY 4MZwTPnRGBEkXknWIXjbpEMNjWghjzZ6cNLaVR7wpnV8vcvhg1dDFJF+LdyCv1NrqL4a HQwK/STRVd5wo2ttObSazQRdFCLFH5K8xEPgk9yYrzF5YqRAcKYprJ9sCycvEAoKhEoF wDQg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=ui-outboundreport:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=oOtFA4UEkaQZQ1lTyzIvZngv43cOzODmoGwEEoq2la4=; fh=RJlcuwmHcHmxFtUck8K0EEtLSe1FangDeTAVTN06uqg=; b=rqgSnhx7qg3bVVxNYNmC1vmQ3bjaXqMON1SveUCb68L5Q5vSReSeIAkGPJaXb95jCc x5JelpyjtUzsgRs3Uf1nOmSN7NKdFCzEZmlzHX/SSpzdNfnE+MPYTu4TxFncc/GIST5X 0Ms2GZSaUJZKNMBHoWIekJ9Gx80FeYCWEJUqgZFAwck6F7fqy9TyddbOk4jy/OVneKBC lOez3qe7Rlxf/8iPjn6j7DaZpkUzIBQ82Sm5R2JtVzElqiuoqEYzXZZ0cjSQxmvSPNF6 POW9EKCBZqTODftFQg9/X6hW+wQpr6WHxTjeGxyxjFOkcdoJ8LxHxqipb7S34DHZzeB1 znBg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=UA4S3TaY; arc=pass (i=1 spf=pass spfdomain=web.de dkim=pass dkdomain=web.de dmarc=pass fromdomain=web.de); spf=pass (google.com: domain of linux-kernel+bounces-167264-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167264-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=web.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id a6-20020ad45c46000000b006a08e153ea5si2773184qva.55.2024.05.02.22.38.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 22:38:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167264-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@web.de header.s=s29768273 header.b=UA4S3TaY; arc=pass (i=1 spf=pass spfdomain=web.de dkim=pass dkdomain=web.de dmarc=pass fromdomain=web.de); spf=pass (google.com: domain of linux-kernel+bounces-167264-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167264-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=web.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 647E01C21F04 for ; Fri, 3 May 2024 05:38:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 23930139CFA; Fri, 3 May 2024 05:37:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=web.de header.i=markus.elfring@web.de header.b="UA4S3TaY" Received: from mout.web.de (mout.web.de [212.227.17.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E8151139586; Fri, 3 May 2024 05:37:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.227.17.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714714677; cv=none; b=o15nY1mSzNvRBDhe4at7eDdD3h7Np2cl/wU+GYgyAsc0xIg20xlG1AUuPCNg192b81cIr4aPCt8rVzg5kOgqv+wPuxu3lEAh8M9qt2/gfyu9jDjJdudLqEEqF3fvUTtNupnF2M0518uXLn9C0oSuxliWHokTI2ug9cFu6QhWIMU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714714677; c=relaxed/simple; bh=22yr4JE/Jesym0pYV5K2emmGFHkQz07wrwb3qp9PgFU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=dEclMAPT1y0ffXZ1gOV1w9y2mrQET2LyoUyc18wpgr5Sqz1bNiSvZxLDXu6hSIwHl843p0QwK2yMJz4XFkog0rGA4DrL1VTOPbWOb4tLAInefl5vfhMUpDx/JnTL+B7K379hcW5qOdGEcCCarviA7pUN54xUurN2SOsfddz3LPw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=web.de; spf=pass smtp.mailfrom=web.de; dkim=pass (2048-bit key) header.d=web.de header.i=markus.elfring@web.de header.b=UA4S3TaY; arc=none smtp.client-ip=212.227.17.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=web.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=web.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1714714637; x=1715319437; i=markus.elfring@web.de; bh=oOtFA4UEkaQZQ1lTyzIvZngv43cOzODmoGwEEoq2la4=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=UA4S3TaYm4fRVdRmIks5BAWnJ36HE8fL6gRMNBP1/4h8s2lU6CXaDyZN3lCn0Bxo NVVnv4RIlko/++PSFnDgBojyeWZDMnN+o43ONQhGcCyn80EX1kpGL8MKNRlMhTDuu Hs+ez28oExk9Xl/SdqWxrtmIDd+OkGNmT1oy6HQFffHKVOomXFbDKwJrJcju6zz5B hUJT4qKeI4ofidzSAzpIq1oBPYdKEimln8NY0TWopIQlU0HbmpuMUJaRohxATlO9i 5e4zn2kh+4WkbKOhKSxP7jpJFAFcTOCJt37q7/1pM5qFK5Euis4tC94cW8nFf2ggF 6GUf6FeqxQo7y8h8ag== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from [192.168.178.21] ([94.31.83.95]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1Mtgyj-1svYaA1Y5P-00tWSo; Fri, 03 May 2024 07:37:17 +0200 Message-ID: <89f07a73-90c6-4a81-9cec-7a1b7d61ea6b@web.de> Date: Fri, 3 May 2024 07:36:54 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net v2 1/2] ax25: change kfree in ax25_dev_free to ax25_dev_free To: Duoming Zhou , linux-hams@vger.kernel.org, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , =?UTF-8?Q?J=C3=B6rg_Reuter?= , Paolo Abeni Cc: LKML , Dan Carpenter , Lars Kellogg-Stedman References: <81bc171fb2246201236c341e9b7d799f509d7dd4.1714690906.git.duoming@zju.edu.cn> Content-Language: en-GB From: Markus Elfring In-Reply-To: <81bc171fb2246201236c341e9b7d799f509d7dd4.1714690906.git.duoming@zju.edu.cn> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:2G4b2DUHON8LbQ7M64u0z49A9zJHgVDnju2Aqmpy+hZ13onF16L sUDbvo4qvAYISGBFqGCsTU3N6O86PdtaaXMeK9RLunLpO9KNAUzZIEQ7xOVPio92bAvq2WW q7vlrz8WDaWhSKjM7qGOfl3GyXux1j9nWjNxh1gdpb5f9VwzbvEI8njH8Hsu/lZt+Mbpj8V FSFQy3YaJf6NOocuiSYJQ== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:ovAlsWP0Fnk=;Hkpc6Yy9FQkb8E3PpAoQFb7as34 Y5fLGMAzq1qZcLpDOxNRg9Wv5zMb8nCATTX6gNCr17IrLB2o+zFVBWLlRGbWXpUGsbWBhVTAY GIF1VqPPp+gVgRnCfbqHFfkoTFhOkzgYjr/ZgOWBXfGmTOs+rQ37O3+A72cRepC5GOpLg04jg rCebK03XkioB3Diei/anLqhLBhCO8HdngrWek16fFcwrv8TlGTu6mVP9WrUrtfa+ZCbuysC81 btJ8n/PynSPb6dHmSaKjh2FDZaMebDlPKUGlD2GnJUPBt9RzpNcgX0p4j9T+OdlhtsRqjHm79 omn6IaxUyob46islDe4+TopceN9b3MGCSEW8P3svY47pdYa4mO8O0by4WSAjCdCrCHDolficm MxTmSFl9srWH4CkVLWMkB6dcdvaZ51scUfScAykEV/Ayi+qWxHiyg+T8vkLpbCQYUhNuDJLPP N5mYpKUueQ86VT/Djgi3RhSzyBcRJjHZYmSr/hd7N14sBtENl0KGpRpYrITljKFMky0vetULi 7M3Jzn8uUAnCEAO+8CU+wkbgInoFpTOE3hqOqgDK3rUwtN6EdBQjZFw1mxm5IqUeWYfTCCviI 5My6Dq/c99aMM8tsm9Abo6/HlAtnocqhugeP7N6hh7VOfy/53dhE5Vt56pYob2B82MSDf52FA wa9CTxlVAebKIP1uabewjuZ4LXuiGbGp3XAImMAxk3FqZ6blRYSwHKSeBQu6FZhTb3ekiAmsp efgFDA+8uD+GisXm9T8cMOCYBqFnwQ4FZKtccGyF/AE8hald8Wpfee+NzMDyhHZQShKeJp0HA 76EhGX8mEHw2H93+4VE1DH37YQPNmLSO6AxxXnkZxRF9p2jW7/6U3xDtf5j2paIVxb > The ax25_dev is managed by reference counting, so it should not be > deallocated directly by kfree() in ax25_dev_free(), replace it with > ax25_dev_put() instead. You repeated a wording mistake in the summary phrase from a previous cover= letter. Please avoid confusion about desired code replacements. How do you think about to append parentheses to involved function names? Would you find the following change description a bit nicer? The object =E2=80=9Cax25_dev=E2=80=9D is managed by reference counting. Thus it should not be directly released by a kfree() call in ax25_dev_f= ree(). Replace it with a ax25_dev_put() call instead. Would you like to extend patch version descriptions (or changelogs) accord= ingly? Regards, Markus