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 30C5EC05027 for ; Tue, 24 Jan 2023 02:17:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231844AbjAXCRl (ORCPT ); Mon, 23 Jan 2023 21:17:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44884 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231559AbjAXCRk (ORCPT ); Mon, 23 Jan 2023 21:17:40 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82C2E1ABC0 for ; Mon, 23 Jan 2023 18:17:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=Ut+E8HJ0/rxiCKmqEvsMMSvMjHBu+Hi3aBaCKMUUs4M=; b=meXVF3dgXzBiCtF8a5EsZiy9t/ uPDHzq/rwa3ipgIPusKnk10mq/PYyOQNyEMPSEgqHzX4TBKXsEahNbt84P2S4LsiuaaXJrEy3jN4v rWya/uOZmB5N4CE7T596wQycFmhjoN3276TZvRzxksOC25hhUlCnza6HyRvzkD1tYwE8=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1pK8sO-002yF7-MZ; Tue, 24 Jan 2023 03:17:32 +0100 Date: Tue, 24 Jan 2023 03:17:32 +0100 From: Andrew Lunn To: Heiner Kallweit Cc: Russell King - ARM Linux , David Miller , Jakub Kicinski , Paolo Abeni , Eric Dumazet , "netdev@vger.kernel.org" Subject: Re: [PATCH net-next] net: mdio: warn once if addr parameter is invalid in mdiobus_get_phy() Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Fri, Jan 20, 2023 at 11:18:32PM +0100, Heiner Kallweit wrote: > If mdiobus_get_phy() is called with an invalid addr parameter, then the > caller has a bug. Print a call trace to help identifying the caller. > > Suggested-by: Paolo Abeni > Signed-off-by: Heiner Kallweit Reviewed-by: Andrew Lunn Andrew