From mboxrd@z Thu Jan 1 00:00:00 1970 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 6A8B1101E2; Sat, 3 Feb 2024 04:09:45 +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=1706933385; cv=none; b=YZuT3TZ5vPJmBL322dupUlTwrGI5FOkIe/gmmV2DdvWdUXfrj6Fq5xAV1vWeibs29EsmPKVJW9kQh0QzhjIYboqyoNe2dVhlWZxiZ0Zoc9ANnesKR+VtoaDrwkkT725QZy/HeSEzGJ5MQzC7MlPlfrvY9FssYWwmAbo3BN8I1Ao= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706933385; c=relaxed/simple; bh=GpGEEH7tEm7ddBBnC7t6g0lv+kz6rIwUlw5cy5lehjo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qSJNH1ZLU6nLXgqdHrQ4J30MwRSf0FFzlHdkuk8DRhMPaT+Rwo5THcxyvLcQgevJfnl1koUsl0MxA5ilvlwO9/r50hYgmNrNFGGvnWCfnBsN49RwOpYd8iqoyhEKLDJ4G2Mhh+E9pnQXzHp+eP2/IFhcQU5jTwhOXxn4JnsZUmg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vfIqieu+; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="vfIqieu+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34099C433F1; Sat, 3 Feb 2024 04:09:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1706933385; bh=GpGEEH7tEm7ddBBnC7t6g0lv+kz6rIwUlw5cy5lehjo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vfIqieu+qKuVMHRYD3eROfrF0dDAeyjhulEqHJ53hEmctGAUAru6U3rIb1SXDbqY8 e+18gkWBIC9cc6Yld37xYPFhxMvGSqd92S2yOfxIeMsJLYf7m0YMBl4Yt78p9zpsUa ij7aZc1u/74fCPqEhbjuqbSVw0ffq8cpGacDmQSk= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Christian Marangi , Andrew Lunn , "David S. Miller" , Sasha Levin Subject: [PATCH 6.1 073/219] net: phy: at803x: fix passing the wrong reference for config_intr Date: Fri, 2 Feb 2024 20:04:06 -0800 Message-ID: <20240203035327.214018348@linuxfoundation.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240203035317.354186483@linuxfoundation.org> References: <20240203035317.354186483@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.1-stable review patch. If anyone has any objections, please let me know. ------------------ From: Christian Marangi [ Upstream commit f8fdbf3389f44c7026f16e36cb1f2ff017f7f5b2 ] Fix passing the wrong reference for config_initr on passing the function pointer, drop the wrong & from at803x_config_intr in the PHY struct. Signed-off-by: Christian Marangi Reviewed-by: Andrew Lunn Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/phy/at803x.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c index edd4b1e58d96..75868e63b81b 100644 --- a/drivers/net/phy/at803x.c +++ b/drivers/net/phy/at803x.c @@ -2051,7 +2051,7 @@ static struct phy_driver at803x_driver[] = { .write_page = at803x_write_page, .get_features = at803x_get_features, .read_status = at803x_read_status, - .config_intr = &at803x_config_intr, + .config_intr = at803x_config_intr, .handle_interrupt = at803x_handle_interrupt, .get_tunable = at803x_get_tunable, .set_tunable = at803x_set_tunable, @@ -2081,7 +2081,7 @@ static struct phy_driver at803x_driver[] = { .resume = at803x_resume, .flags = PHY_POLL_CABLE_TEST, /* PHY_BASIC_FEATURES */ - .config_intr = &at803x_config_intr, + .config_intr = at803x_config_intr, .handle_interrupt = at803x_handle_interrupt, .cable_test_start = at803x_cable_test_start, .cable_test_get_status = at803x_cable_test_get_status, @@ -2097,7 +2097,7 @@ static struct phy_driver at803x_driver[] = { .resume = at803x_resume, .flags = PHY_POLL_CABLE_TEST, /* PHY_BASIC_FEATURES */ - .config_intr = &at803x_config_intr, + .config_intr = at803x_config_intr, .handle_interrupt = at803x_handle_interrupt, .cable_test_start = at803x_cable_test_start, .cable_test_get_status = at803x_cable_test_get_status, -- 2.43.0