mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-10 21:01:44 +00:00
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.72
Dropped to due being superseded by upstream patch:
mediatek/patches-6.6/870-drm-mediatek-only-touch-DISP_REG_OVL_PITCH_MSB-if-AF.patch[1]
All other patches automatically rebased.
1. ac7f5641e9
Build system: x86/64
Build-tested: bcm27xx/bcm2712, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3
Run-tested: bcm27xx/bcm2712, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3
Signed-off-by: John Audia <therealgraysky@proton.me>
Link: https://github.com/openwrt/openwrt/pull/17646
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 1d021458fd681dc4c27615a574cc09cc57d1c51e)
28 lines
888 B
Diff
28 lines
888 B
Diff
From ad2babc6596ba4f500454a4eaa607f3b49fcbcbe Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Wed, 7 Aug 2024 17:41:31 +0100
|
|
Subject: [PATCH 1218/1350] Bluetooth: hci_sync: Fix crash on NULL parent
|
|
|
|
Although later functions can handle a NULL fwnode, fwnode can't handle
|
|
being passed a NULL pointer.
|
|
|
|
See: https://github.com/raspberrypi/linux/issues/6305
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|
---
|
|
net/bluetooth/hci_sync.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
--- a/net/bluetooth/hci_sync.c
|
|
+++ b/net/bluetooth/hci_sync.c
|
|
@@ -4873,7 +4873,8 @@ static const struct {
|
|
*/
|
|
static int hci_dev_setup_sync(struct hci_dev *hdev)
|
|
{
|
|
- struct fwnode_handle *fwnode = dev_fwnode(hdev->dev.parent);
|
|
+ struct fwnode_handle *fwnode =
|
|
+ hdev->dev.parent ? dev_fwnode(hdev->dev.parent) : NULL;
|
|
int ret = 0;
|
|
bool invalid_bdaddr;
|
|
size_t i;
|