Skip to content

Commit

Permalink
Merge pull request #745 from nathanchance/update-patches-apr-25-2024
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanchance committed Apr 26, 2024
2 parents 7e3167d + 0ab366d commit b6476b9
Show file tree
Hide file tree
Showing 13 changed files with 28 additions and 215 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 7d80e7ebf9e333dc5463a48a914f55caef15f62f Mon Sep 17 00:00:00 2001
From 9bf4e919ccad613b3596eebf1ff37b05b6405307 Mon Sep 17 00:00:00 2001
From: Nathan Chancellor <nathan@kernel.org>
Date: Mon, 1 Apr 2024 11:24:17 -0700
Subject: Bluetooth: Fix type of len in {l2cap,sco}_sock_getsockopt_old()
Expand Down Expand Up @@ -62,7 +62,7 @@ Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/net/bluetooth/l2cap_sock.c b/net/bluetooth/l2cap_sock.c
index 9a9f933a748b8..7846a068bf60b 100644
index e7d810b23082f5..5cc83f906c123f 100644
--- a/net/bluetooth/l2cap_sock.c
+++ b/net/bluetooth/l2cap_sock.c
@@ -439,7 +439,8 @@ static int l2cap_sock_getsockopt_old(struct socket *sock, int optname,
Expand Down Expand Up @@ -94,10 +94,10 @@ index 9a9f933a748b8..7846a068bf60b 100644
err = -EFAULT;

diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c
index b3c2af7c7d678..99c2b713d8268 100644
index 368e026f4d15ca..5d03c5440b06f8 100644
--- a/net/bluetooth/sco.c
+++ b/net/bluetooth/sco.c
@@ -982,7 +982,8 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,
@@ -964,7 +964,8 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,
struct sock *sk = sock->sk;
struct sco_options opts;
struct sco_conninfo cinfo;
Expand All @@ -107,7 +107,7 @@ index b3c2af7c7d678..99c2b713d8268 100644

BT_DBG("sk %p", sk);

@@ -1004,7 +1005,7 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,
@@ -986,7 +987,7 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,

BT_DBG("mtu %u", opts.mtu);

Expand All @@ -116,7 +116,7 @@ index b3c2af7c7d678..99c2b713d8268 100644
if (copy_to_user(optval, (char *)&opts, len))
err = -EFAULT;

@@ -1022,7 +1023,7 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,
@@ -1004,7 +1005,7 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,
cinfo.hci_handle = sco_pi(sk)->conn->hcon->handle;
memcpy(cinfo.dev_class, sco_pi(sk)->conn->hcon->dev_class, 3);

Expand Down
2 changes: 1 addition & 1 deletion patches/6.1/series
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7d80e7ebf9e333dc5463a48a914f55caef15f62f.patch
9bf4e919ccad613b3596eebf1ff37b05b6405307.patch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 7d80e7ebf9e333dc5463a48a914f55caef15f62f Mon Sep 17 00:00:00 2001
From 9bf4e919ccad613b3596eebf1ff37b05b6405307 Mon Sep 17 00:00:00 2001
From: Nathan Chancellor <nathan@kernel.org>
Date: Mon, 1 Apr 2024 11:24:17 -0700
Subject: Bluetooth: Fix type of len in {l2cap,sco}_sock_getsockopt_old()
Expand Down Expand Up @@ -62,7 +62,7 @@ Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/net/bluetooth/l2cap_sock.c b/net/bluetooth/l2cap_sock.c
index 9a9f933a748b8..7846a068bf60b 100644
index e7d810b23082f5..5cc83f906c123f 100644
--- a/net/bluetooth/l2cap_sock.c
+++ b/net/bluetooth/l2cap_sock.c
@@ -439,7 +439,8 @@ static int l2cap_sock_getsockopt_old(struct socket *sock, int optname,
Expand Down Expand Up @@ -94,10 +94,10 @@ index 9a9f933a748b8..7846a068bf60b 100644
err = -EFAULT;

diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c
index b3c2af7c7d678..99c2b713d8268 100644
index 368e026f4d15ca..5d03c5440b06f8 100644
--- a/net/bluetooth/sco.c
+++ b/net/bluetooth/sco.c
@@ -982,7 +982,8 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,
@@ -964,7 +964,8 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,
struct sock *sk = sock->sk;
struct sco_options opts;
struct sco_conninfo cinfo;
Expand All @@ -107,7 +107,7 @@ index b3c2af7c7d678..99c2b713d8268 100644

BT_DBG("sk %p", sk);

@@ -1004,7 +1005,7 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,
@@ -986,7 +987,7 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,

BT_DBG("mtu %u", opts.mtu);

Expand All @@ -116,7 +116,7 @@ index b3c2af7c7d678..99c2b713d8268 100644
if (copy_to_user(optval, (char *)&opts, len))
err = -EFAULT;

@@ -1022,7 +1023,7 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,
@@ -1004,7 +1005,7 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,
cinfo.hci_handle = sco_pi(sk)->conn->hcon->handle;
memcpy(cinfo.dev_class, sco_pi(sk)->conn->hcon->dev_class, 3);

Expand Down
2 changes: 1 addition & 1 deletion patches/6.6/series
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
7d80e7ebf9e333dc5463a48a914f55caef15f62f.patch
9bf4e919ccad613b3596eebf1ff37b05b6405307.patch
v2_20240305_nathan_media_mxl5xx_move_xpt_structures_off_stack.patch
2 changes: 0 additions & 2 deletions patches/mainline/series
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
7d80e7ebf9e333dc5463a48a914f55caef15f62f.patch
v2_20240305_nathan_media_mxl5xx_move_xpt_structures_off_stack.patch
workaround-cbl-2014.patch
27 changes: 0 additions & 27 deletions patches/mainline/workaround-cbl-2014.patch

This file was deleted.

1 change: 0 additions & 1 deletion patches/next/series
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
v2_20240305_nathan_media_mxl5xx_move_xpt_structures_off_stack.patch
workaround-cbl-2014.patch
27 changes: 0 additions & 27 deletions patches/next/workaround-cbl-2014.patch

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 7d80e7ebf9e333dc5463a48a914f55caef15f62f Mon Sep 17 00:00:00 2001
From 9bf4e919ccad613b3596eebf1ff37b05b6405307 Mon Sep 17 00:00:00 2001
From: Nathan Chancellor <nathan@kernel.org>
Date: Mon, 1 Apr 2024 11:24:17 -0700
Subject: Bluetooth: Fix type of len in {l2cap,sco}_sock_getsockopt_old()
Expand Down Expand Up @@ -62,7 +62,7 @@ Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/net/bluetooth/l2cap_sock.c b/net/bluetooth/l2cap_sock.c
index 9a9f933a748b8..7846a068bf60b 100644
index e7d810b23082f5..5cc83f906c123f 100644
--- a/net/bluetooth/l2cap_sock.c
+++ b/net/bluetooth/l2cap_sock.c
@@ -439,7 +439,8 @@ static int l2cap_sock_getsockopt_old(struct socket *sock, int optname,
Expand Down Expand Up @@ -94,10 +94,10 @@ index 9a9f933a748b8..7846a068bf60b 100644
err = -EFAULT;

diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c
index b3c2af7c7d678..99c2b713d8268 100644
index 368e026f4d15ca..5d03c5440b06f8 100644
--- a/net/bluetooth/sco.c
+++ b/net/bluetooth/sco.c
@@ -982,7 +982,8 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,
@@ -964,7 +964,8 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,
struct sock *sk = sock->sk;
struct sco_options opts;
struct sco_conninfo cinfo;
Expand All @@ -107,7 +107,7 @@ index b3c2af7c7d678..99c2b713d8268 100644

BT_DBG("sk %p", sk);

@@ -1004,7 +1005,7 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,
@@ -986,7 +987,7 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,

BT_DBG("mtu %u", opts.mtu);

Expand All @@ -116,7 +116,7 @@ index b3c2af7c7d678..99c2b713d8268 100644
if (copy_to_user(optval, (char *)&opts, len))
err = -EFAULT;

@@ -1022,7 +1023,7 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,
@@ -1004,7 +1005,7 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,
cinfo.hci_handle = sco_pi(sk)->conn->hcon->handle;
memcpy(cinfo.dev_class, sco_pi(sk)->conn->hcon->dev_class, 3);

Expand Down
2 changes: 1 addition & 1 deletion patches/stable/series
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
7d80e7ebf9e333dc5463a48a914f55caef15f62f.patch
9bf4e919ccad613b3596eebf1ff37b05b6405307.patch
v2_20240305_nathan_media_mxl5xx_move_xpt_structures_off_stack.patch
130 changes: 0 additions & 130 deletions patches/tip/7d80e7ebf9e333dc5463a48a914f55caef15f62f.patch

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 7d80e7ebf9e333dc5463a48a914f55caef15f62f Mon Sep 17 00:00:00 2001
From 9bf4e919ccad613b3596eebf1ff37b05b6405307 Mon Sep 17 00:00:00 2001
From: Nathan Chancellor <nathan@kernel.org>
Date: Mon, 1 Apr 2024 11:24:17 -0700
Subject: Bluetooth: Fix type of len in {l2cap,sco}_sock_getsockopt_old()
Expand Down Expand Up @@ -62,7 +62,7 @@ Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/net/bluetooth/l2cap_sock.c b/net/bluetooth/l2cap_sock.c
index 9a9f933a748b8..7846a068bf60b 100644
index e7d810b23082f5..5cc83f906c123f 100644
--- a/net/bluetooth/l2cap_sock.c
+++ b/net/bluetooth/l2cap_sock.c
@@ -439,7 +439,8 @@ static int l2cap_sock_getsockopt_old(struct socket *sock, int optname,
Expand Down Expand Up @@ -94,10 +94,10 @@ index 9a9f933a748b8..7846a068bf60b 100644
err = -EFAULT;

diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c
index b3c2af7c7d678..99c2b713d8268 100644
index 368e026f4d15ca..5d03c5440b06f8 100644
--- a/net/bluetooth/sco.c
+++ b/net/bluetooth/sco.c
@@ -982,7 +982,8 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,
@@ -964,7 +964,8 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,
struct sock *sk = sock->sk;
struct sco_options opts;
struct sco_conninfo cinfo;
Expand All @@ -107,7 +107,7 @@ index b3c2af7c7d678..99c2b713d8268 100644

BT_DBG("sk %p", sk);

@@ -1004,7 +1005,7 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,
@@ -986,7 +987,7 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,

BT_DBG("mtu %u", opts.mtu);

Expand All @@ -116,7 +116,7 @@ index b3c2af7c7d678..99c2b713d8268 100644
if (copy_to_user(optval, (char *)&opts, len))
err = -EFAULT;

@@ -1022,7 +1023,7 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,
@@ -1004,7 +1005,7 @@ static int sco_sock_getsockopt_old(struct socket *sock, int optname,
cinfo.hci_handle = sco_pi(sk)->conn->hcon->handle;
memcpy(cinfo.dev_class, sco_pi(sk)->conn->hcon->dev_class, 3);

Expand Down
2 changes: 1 addition & 1 deletion patches/tip/series
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7d80e7ebf9e333dc5463a48a914f55caef15f62f.patch
9bf4e919ccad613b3596eebf1ff37b05b6405307.patch

0 comments on commit b6476b9

Please sign in to comment.