Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1712444lqm; Fri, 3 May 2024 04:33:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVaEW6O3tVY4JfI1Jn85rM9bJ8E6AsxjPXIc8DzFBkIUSUuT2CCAsV9jShTZ0yasJiToXdzcCkvnVqG/FFsSFwWh8rqAyE43i+vvL2Oug== X-Google-Smtp-Source: AGHT+IG2jgWgsrOPURCOjorZnq4YrN021qOz/b1/W+087ee+H/rAFUuN4Mlm3wuGb33GaAsuFfiw X-Received: by 2002:a17:90a:2f62:b0:2b1:4e21:2c5c with SMTP id s89-20020a17090a2f6200b002b14e212c5cmr2125775pjd.49.1714736035071; Fri, 03 May 2024 04:33:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714736035; cv=pass; d=google.com; s=arc-20160816; b=es3Gz9jWVYbISFO7dr6mXuVZ5wsCxHp2wNxe0BYtJQsorWnGa55f/6AiuGIN6Zhwcg myFMRSPEALuJreqG1V8lj14qmOBdcaIs09i6i1yu/9xTJLSYMcbpjI3JkMkvmAnG82V8 QD4X5XoGrHSd0t/Bxk2Z6I8OfIrShSuMfy4qEowUYbdhkYl8y+1tJRHApDSA3B8wQEL4 FfyPFgjwi6fvVlXJNiLpVS3trP90FDtkW2bD3qfzUgoyBr0RzkGtdlCR6yxth8GrBzda 7gM3Ky3jlgwd1DQMe9AfqH345EziSHf3JT3RSx+gK0TQLKVX3VfSv7XxVIRTAYBtTiYO oPYg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=mYKYS9o1+tjlc9KHGfIXM8/wUGmn4enyO6luvWTQQAI=; fh=k+MSNOAdOzOzUz94XAL5R76HXyINAmN6PFvBOUstrMc=; b=X5xKElVk3keeL+E8tDUPq9vq8t9g6Kuqlfzug3YfX61QeMjasNOhlmY25xBS42/zg0 KPbi2wXP/KT9IEynicV6tid7GBLs4lWFTikLyWAdoijpUJezXVQfX0EgOaOEHtq5lrxc eYzYelspvO+jRj61KyveL5xluQL6aG5Zr9mhfEC5Gay1kYjaJnfv/Rxfy5otOFwjxHAg 5SekH8B7a3mXDXEDhzLsSm/seBxYTQkxTL0my9pgnj9LKba5dVAWSvX8l5cN65zZ0HYe aI1gzbDtMFeSS6uoNn3ITLyo/ovGJkxHvRehbnzmj4PXAxevxOW+duYh4xrpIFlfBOlX /ZpA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aX6+khFg; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-167585-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167585-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id i8-20020a17090ad34800b002b4346f7cebsi210456pjx.147.2024.05.03.04.33.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 04:33:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167585-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aX6+khFg; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-167585-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167585-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id B2CDDB20FFD for ; Fri, 3 May 2024 11:33:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D5EEE15218F; Fri, 3 May 2024 11:33:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="aX6+khFg" Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 859F5152197 for ; Fri, 3 May 2024 11:33:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714736009; cv=none; b=hKbsoMzW4f3O2wNpdo3es5kiDwxTqTTRWozI5AJYhibxQMIHmSrINDY11VstrXbliqp0un80kc88azAi6J2yR+bHqX11an0QlPY6cFl3kja1YESIixJa1H7MCgRdUkApeAD0M3vMt2BRg9UqVhOLncXhNk0INWSXavg/OfsRvXc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714736009; c=relaxed/simple; bh=jdNr9HzoVl94UbxT5ZLc4/b71AkBZCNGvQPd4k/6VVY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=A7fz/d0l8U5umW1p3CcjESRuY6/T7ZwcvF7rc9AiGLWBRURcp0gvnkp1Y7ngjTjqF8j9e02oiMakcKG/ujRBAN4JEvmrII0RnBfd/w7qfLRmhFtoO0P3GISfwUQaRdT2zI8rl5V5iwM/giJRbMVd9FZITwrrxuCrbV6BjY8AW88= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=aX6+khFg; arc=none smtp.client-ip=209.85.221.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-34c1fff534fso6500692f8f.1 for ; Fri, 03 May 2024 04:33:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714736006; x=1715340806; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=mYKYS9o1+tjlc9KHGfIXM8/wUGmn4enyO6luvWTQQAI=; b=aX6+khFgh+CeP33k/2ejGxcRvPrNgJBxbG1aQEw2jM/euYyG+FT81Q8MnnLk2hBGQP xacVrsvA3gmt4KGrKNQxuZLmG/+Rp+AG1hAyjz7bt4/O9sVgw9JRj8y8+TFK3pkqUkUP B054UUt4JAOmxsRgSTBYO9JZf5SKjlj+dUH41heBFrYyXp0hR263qYTJhuFeohzokVFl FUn+MkNI9ctzQ0f0CxBGuCaYVFVFsD6I7HOUpb8DHNxcpfCA+jaLaWQgnKJGJpAMKdkW 86I4SYjtQuc3DIComMMvkOMtk6YPwXNKvu8nq4TKwQvgoULL98G8u60suGsmN1urIzIh 4eaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714736006; x=1715340806; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=mYKYS9o1+tjlc9KHGfIXM8/wUGmn4enyO6luvWTQQAI=; b=DBEqXz+FLuASeOS+500I3DMDwFjTJkyvafIb4aQ1RzK2G+L56MH8fLU4YGax9z737S ROoqBc9V5Tr1MyVQrIg8OfJtihQ/pQfG5gWtnDoQ5+4n7TgMA/G++qzsvsCCDLqKDVLy 2i1eJP8WcdXxZjn6lorTzR7ZMECsPrTOwbhYjMXu1NmwxoMLt80rE48UbJaVuaxsrNCB ABqtuFUN9L6V8ydjBtJWKTiic+O02XQ/kMoLpGZ6Yatp+3qF3x8+gG1tcWLZBen3FsB7 0mfcPrPa4D5yO4DF5P42+3WZEAfsxhprj71luCAa955MceqZehOzQP1+C1vAFalW/NPL +ipg== X-Forwarded-Encrypted: i=1; AJvYcCUNYSmGN4K1XTJSWcxfG4UghX4xyQwcLiVeRHcb2rCic4azexZr53DqeZZ0XXIroYR5T7HwZ66elA3kNaeem2tiuS5CZCtFYHSxz5kQ X-Gm-Message-State: AOJu0YyStociDIX+mEEjJ53CN/y3LXvsE8Grkoa0I+nmrD8qI/GuXg+v 4yBS9y/8QhmPvcOkKRvecoMbLyfUSQAezMXv4E/JJG9pc5TEDCLomvYz+MyJSJ0= X-Received: by 2002:a5d:4f8f:0:b0:34d:7fbb:e93b with SMTP id d15-20020a5d4f8f000000b0034d7fbbe93bmr1833665wru.14.1714736005539; Fri, 03 May 2024 04:33:25 -0700 (PDT) Received: from localhost ([102.222.70.76]) by smtp.gmail.com with ESMTPSA id p13-20020a056000018d00b0034e229a7d5bsm3576100wrx.7.2024.05.03.04.33.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 04:33:24 -0700 (PDT) Date: Fri, 3 May 2024 14:33:20 +0300 From: Dan Carpenter To: Markus Elfring Cc: Duoming Zhou , linux-hams@vger.kernel.org, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , =?iso-8859-1?Q?J=F6rg?= Reuter , Paolo Abeni , LKML , Lars Kellogg-Stedman Subject: Re: [PATCH net v2 1/2] ax25: change kfree in ax25_dev_free to ax25_dev_free Message-ID: <4ec281f4-f7f8-436c-af0e-c8410ba79139@moroto.mountain> References: <81bc171fb2246201236c341e9b7d799f509d7dd4.1714690906.git.duoming@zju.edu.cn> <89f07a73-90c6-4a81-9cec-7a1b7d61ea6b@web.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <89f07a73-90c6-4a81-9cec-7a1b7d61ea6b@web.de> On Fri, May 03, 2024 at 07:36:54AM +0200, Markus Elfring wrote: > > 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. Yeah. That's true. The subject should be changed to: Subject: [PATCH] ax25: change kfree() in ax25_dev_free() to ax25_dev_put() Another option would be: Subject: [PATCH] ax25: use ax25_dev_put() in ax25_dev_free() Otherwise the commit message is okay as-is. regards, dan carpenter