Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp912964lqm; Wed, 1 May 2024 22:16:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUHBOIM1LW80H5vYZ1OqdHeEKw93zUoXHb+ukOY6DjJXt54acn038XvPPgFAWobIwbGdxe1ImvKQXP0tg8LfvmE1wz6HR15iYCJwLMi8A== X-Google-Smtp-Source: AGHT+IECYIWDrUnf6BYnVqrAeMknFIMWTxhXwyZahtG/1UqPSuXriTk/6+qXHxdgrliUnW5ZKTMF X-Received: by 2002:a05:6359:4114:b0:183:5c5d:ced7 with SMTP id kh20-20020a056359411400b001835c5dced7mr1425187rwc.11.1714627012646; Wed, 01 May 2024 22:16:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714627012; cv=pass; d=google.com; s=arc-20160816; b=L/HzaXKXVA9g2tgYKPGyN16LPeAhJ3tn9ygzyzMqH1M6ly6Vn7rSe+EHsXP5m07SHK JRnbe6n8cHDc9XtIrdBPQCH1jWsO2bRZQQ7/ZJmyF0T5QfcV5RP2unzbnQdIjjtSYN+N +4g5tKmFyMItiNbu+E0J8Csa6x8Nj71xqOpe7jif58/hJarZ2zBY/b0XrrNU+/r9vs8X Kg+DCkrCr6buZvXCGN92hARgN7WnKORv3/8Uqn9YsGjYq998ruLQKChm+9TLzNh2fM+v v88ASiETIUQeg/OT6W0yXUh35qJJoKe3I/ZdF6bgWmuBnnedH2gen6zVeQkuHFFgggS6 urgw== 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=MXuDUqGD8r7DLrm14x3KWhpNX3tNSKc+nAaMQa+6Ipg=; fh=yTYBSOWbNngQx+841plDFpLMQOAH1HyA0jhYcK4t0Jc=; b=ug0ELUL6Dmp9Iky+rwlZfvybjw9NkKVC/RpkbYMfIgN99EYf+yM9uZxcvg9gpJQO7S zaGflw0PdZra56F3p0aW/wmk81MvVRnHvtR4xEu8G5MgMgCU6FcnWSx4x9J71/ESlfgv nGdt+4aSi8pFR7xoSSp4LFagW7wv8JSM2IXDcgAaOJU6V9rmMBYiaXikTVdBtvZnliPA yv8SO0tf5+zEqFXO7rlUINqnpXTLSXMJNJLZbQ+j+tJb4EgyEOcsrgePG3YwKHXf9fO/ HvRjntTCQp6JRWKEdF9IlPsVzYVJSDi2+O8aeOk/V7F0N+6kcK1F05CxhgGwnrzlpFxq TnDg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="n/Ltc0lD"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-165978-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165978-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id t190-20020a6381c7000000b005ff5808b8d4si317151pgd.849.2024.05.01.22.16.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 22:16:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165978-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="n/Ltc0lD"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-165978-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165978-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id D6FA1283C6A for ; Thu, 2 May 2024 05:16:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 35FF7208AD; Thu, 2 May 2024 05:16:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="n/Ltc0lD" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 388E51CD2D; Thu, 2 May 2024 05:16:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714627002; cv=none; b=edb/Cv1wXeNNTZ5bC060iIywMgVkZ7JzoRNaPOqG1WOCqYVCgLfKUJu2JTL7JuNgjmSD/uN71i7jPoS0St6TRKpjP6rgT5LvggI6Lm0+uMCiuhg8CGS5ktBswy8hEeEXVL6MzR4T0ChHsrQtSkjiojI0eEwVePUjKzqJ9eJtpr0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714627002; c=relaxed/simple; bh=GNnjqZhf/EV01EZnYcWASg64MdiAwmf42mW2YxPHaxQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bJULcu1GPv2e1JBoddK7ypsOtl4ROr4Utgwme/I1sz6QMOtTSGL+gShFOjHGD0gqy9+lMWU7rKOkyQcB+1Va5xxRChjpH650qmzS19XmIXMEwM/HWA0pUPXkConh8iH1XihGb8AYQAsfsLwgpHb5My+s/S+Xr6oH3rQI7dmI3Gs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=n/Ltc0lD; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21E0AC116B1; Thu, 2 May 2024 05:16:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714627001; bh=GNnjqZhf/EV01EZnYcWASg64MdiAwmf42mW2YxPHaxQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=n/Ltc0lD8MMsd8O5/eh5TXW5PZfHqV9KLBuGZjvo6R33tnWxmR+z/9MP9vxHhVA8g I0Wa4wzsBa1ovQutKDic9hDFfKsLPZSJsDrckBwC3qf6PTKLtPZpAqGya4gSrdJjID nbnaK7T9VUNHG5/UR2ke8Z67NS06BZpI+25yQt8Y= Date: Thu, 2 May 2024 07:16:37 +0200 From: Greg KH To: Rengarajan S Cc: woojung.huh@microchip.com, UNGLinuxDriver@microchip.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net v1] lan78xx: Fix crash with multiple device attach Message-ID: <2024050224-robust-ramble-7a56@gregkh> References: <20240502045748.37627-1-rengarajan.s@microchip.com> 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: <20240502045748.37627-1-rengarajan.s@microchip.com> On Thu, May 02, 2024 at 10:27:48AM +0530, Rengarajan S wrote: > After the first device(MAC + PHY) is attached, the corresponding > fixup gets registered and before it is unregistered next device > is attached causing the dev pointer of second device to be NULL. > Fixed the issue with multiple PHY attach by unregistering PHY > at the end of probe. Removed the unregistration during phy_init > since the handling has been taken care in probe. > > Fixes: 89b36fb5e532 ("lan78xx: Lan7801 Support for Fixed PHY") > Signed-off-by: Rengarajan S > --- > > drivers/net/usb/lan78xx.c | 16 +++++++++------- > 1 file changed, 9 insertions(+), 7 deletions(-) > Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him a patch that has triggered this response. He used to manually respond to these common problems, but in order to save his sanity (he kept writing the same thing over and over, yet to different people), I was created. Hopefully you will not take offence and will fix the problem in your patch and resubmit it so that it can be accepted into the Linux kernel tree. You are receiving this message because of the following common error(s) as indicated below: - You have marked a patch with a "Fixes:" tag for a commit that is in an older released kernel, yet you do not have a cc: stable line in the signed-off-by area at all, which means that the patch will not be applied to any older kernel releases. To properly fix this, please follow the documented rules in the Documentation/process/stable-kernel-rules.rst file for how to resolve this. If you wish to discuss this problem further, or you have questions about how to resolve this issue, please feel free to respond to this email and Greg will reply once he has dug out from the pending patches received from other developers. thanks, greg k-h's patch email bot