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 4BE0913AC6; Sat, 3 Feb 2024 04:16:54 +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=1706933814; cv=none; b=Je9UauH+bBVUagMKQzYiZz0Vuwrm2N4sg86IpXRQzOju2uxtCVFqfIlMh7lG+JSEcE6k7qlckDdaVDCvKv2BTr7KYmfevLsUmZ+Av3r0wyscKItl99dpaPfMa62ApL1dcKQ7eKTspRAMP8mWynyBuLEy7fUcirNxlexfarjV9bQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706933814; c=relaxed/simple; bh=t9j2Ves5IwtewQraNJZAXjIiaFix2xBfWUYV/Nd0FK0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=VFx/545GZ2sxT1uzht4ySwqSAU1QqsXd0eFzBA2RvXx2UxtUbxDbm2IbSGUaY0xb0C/ZvvNyO1riJZFCSwZlzBPk0mOLyW4Y4hBlZ5pwgHw3z2DBZh6fZb52Un75bfo7tyuUZCsVqCahW8cm631Zcl/qtuy0JO1MDGsFHTmrVYk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=yjZMXUeP; 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="yjZMXUeP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 15534C43390; Sat, 3 Feb 2024 04:16:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1706933814; bh=t9j2Ves5IwtewQraNJZAXjIiaFix2xBfWUYV/Nd0FK0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yjZMXUePIS6rXHLvuc2w7nNFME0jIoO3/B8WK8OJWOl6YNIBaKRpp6oZVWl6/7+2c YGx3TCtAEKsc6E1bxhc32AyBa8WM6Nv+iFOkQeok+wUe35P1+yJzD7rHBimaBnGX+w 5/loeNLOBz+TOaEgJG3hqGUFqfh9KrO+jiwETYPk= 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.7 114/353] net: phy: at803x: fix passing the wrong reference for config_intr Date: Fri, 2 Feb 2024 20:03:52 -0800 Message-ID: <20240203035407.364138321@linuxfoundation.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240203035403.657508530@linuxfoundation.org> References: <20240203035403.657508530@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.7-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 37fb033e1c29..ef203b0807e5 100644 --- a/drivers/net/phy/at803x.c +++ b/drivers/net/phy/at803x.c @@ -2104,7 +2104,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, @@ -2134,7 +2134,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, @@ -2150,7 +2150,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