All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] backports: fix build on recent v4.14 kernels
@ 2021-12-09 16:25 Dembianny, Sven (GDE-EDSO)
  2021-12-09 16:25 ` [PATCH 1/1] " Dembianny, Sven (GDE-EDSO)
  0 siblings, 1 reply; 5+ messages in thread
From: Dembianny, Sven (GDE-EDSO) @ 2021-12-09 16:25 UTC (permalink / raw
  To: backports@vger.kernel.org; +Cc: Dembianny, Sven (GDE-EDSO)

From: "Dembianny, Sven" <sven.dembianny@bshg.com>

This was found while backporting kernel driver from v5.10.9.
skb_mark_not_on_list is defined from v4.14.217, backports would do a
redefinition.
Had a look on recent v4.13-v4.9 kernels, seems no adaption is needed there.

Best regards, Sven

Dembianny, Sven (1):
  backports: fix build on recent v4.14 kernels

 backport/backport-include/linux/skbuff.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.17.1
--
To unsubscribe from this list: send the line "unsubscribe backports" in

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/1] backports: fix build on recent v4.14 kernels
  2021-12-09 16:25 [PATCH 0/1] backports: fix build on recent v4.14 kernels Dembianny, Sven (GDE-EDSO)
@ 2021-12-09 16:25 ` Dembianny, Sven (GDE-EDSO)
  2021-12-11 19:04   ` Hauke Mehrtens
  0 siblings, 1 reply; 5+ messages in thread
From: Dembianny, Sven (GDE-EDSO) @ 2021-12-09 16:25 UTC (permalink / raw
  To: backports@vger.kernel.org; +Cc: Dembianny, Sven (GDE-EDSO)

From: "Dembianny, Sven" <sven.dembianny@bshg.com>

---
 backport/backport-include/linux/skbuff.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/backport/backport-include/linux/skbuff.h b/backport/backport-include/linux/skbuff.h
index 1fd25fcd..c5015e9d 100644
--- a/backport/backport-include/linux/skbuff.h
+++ b/backport/backport-include/linux/skbuff.h
@@ -62,7 +62,8 @@ static inline struct sk_buff *__skb_peek(const struct sk_buff_head *list_)
 	return list_->next;
 }
 
-#if !LINUX_VERSION_IN_RANGE(4,19,10, 4,20,0)
+#if !LINUX_VERSION_IN_RANGE(4,19,10, 4,20,0) && \
+    !LINUX_VERSION_IN_RANGE(4,14,217, 4,15,0)
 static inline void skb_mark_not_on_list(struct sk_buff *skb)
 {
 	skb->next = NULL;
-- 
2.17.1
--
To unsubscribe from this list: send the line "unsubscribe backports" in

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/1] backports: fix build on recent v4.14 kernels
  2021-12-09 16:25 ` [PATCH 1/1] " Dembianny, Sven (GDE-EDSO)
@ 2021-12-11 19:04   ` Hauke Mehrtens
  0 siblings, 0 replies; 5+ messages in thread
From: Hauke Mehrtens @ 2021-12-11 19:04 UTC (permalink / raw
  To: Dembianny, Sven (GDE-EDSO), backports@vger.kernel.org

On 12/9/21 5:25 PM, Dembianny, Sven (GDE-EDSO) wrote:
> From: "Dembianny, Sven" <sven.dembianny@bshg.com>
> 

Please add a Signed-off-by line to this patch.

> ---
>   backport/backport-include/linux/skbuff.h | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/backport/backport-include/linux/skbuff.h b/backport/backport-include/linux/skbuff.h
> index 1fd25fcd..c5015e9d 100644
> --- a/backport/backport-include/linux/skbuff.h
> +++ b/backport/backport-include/linux/skbuff.h
> @@ -62,7 +62,8 @@ static inline struct sk_buff *__skb_peek(const struct sk_buff_head *list_)
>   	return list_->next;
>   }
>   
> -#if !LINUX_VERSION_IN_RANGE(4,19,10, 4,20,0)
> +#if !LINUX_VERSION_IN_RANGE(4,19,10, 4,20,0) && \
> +    !LINUX_VERSION_IN_RANGE(4,14,217, 4,15,0)
>   static inline void skb_mark_not_on_list(struct sk_buff *skb)
>   {
>   	skb->next = NULL;
> 

--
To unsubscribe from this list: send the line "unsubscribe backports" in

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/1] backports: fix build on recent v4.14 kernels
@ 2021-12-13 10:37 Dembianny, Sven (GDE-EDSO)
  2021-12-14 22:56 ` Hauke Mehrtens
  0 siblings, 1 reply; 5+ messages in thread
From: Dembianny, Sven (GDE-EDSO) @ 2021-12-13 10:37 UTC (permalink / raw
  To: backports@vger.kernel.org; +Cc: Dembianny, Sven (GDE-EDSO)

Signed-off-by: Sven Dembianny <sven.dembianny@bshg.com>
---
 backport/backport-include/linux/skbuff.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/backport/backport-include/linux/skbuff.h b/backport/backport-include/linux/skbuff.h
index 1fd25fcd..c5015e9d 100644
--- a/backport/backport-include/linux/skbuff.h
+++ b/backport/backport-include/linux/skbuff.h
@@ -62,7 +62,8 @@ static inline struct sk_buff *__skb_peek(const struct sk_buff_head *list_)
 	return list_->next;
 }
 
-#if !LINUX_VERSION_IN_RANGE(4,19,10, 4,20,0)
+#if !LINUX_VERSION_IN_RANGE(4,19,10, 4,20,0) && \
+    !LINUX_VERSION_IN_RANGE(4,14,217, 4,15,0)
 static inline void skb_mark_not_on_list(struct sk_buff *skb)
 {
 	skb->next = NULL;
-- 
2.17.1
--
To unsubscribe from this list: send the line "unsubscribe backports" in

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 1/1] backports: fix build on recent v4.14 kernels
  2021-12-13 10:37 Dembianny, Sven (GDE-EDSO)
@ 2021-12-14 22:56 ` Hauke Mehrtens
  0 siblings, 0 replies; 5+ messages in thread
From: Hauke Mehrtens @ 2021-12-14 22:56 UTC (permalink / raw
  To: Dembianny, Sven (GDE-EDSO); +Cc: backports@vger.kernel.org

On 12/13/21 11:37 AM, Dembianny, Sven (GDE-EDSO) wrote:
> Signed-off-by: Sven Dembianny <sven.dembianny@bshg.com>
> ---

Thank you for your patch, I added it to master and the 5.10 branch.

Hauke
--
To unsubscribe from this list: send the line "unsubscribe backports" in

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-12-14 22:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-09 16:25 [PATCH 0/1] backports: fix build on recent v4.14 kernels Dembianny, Sven (GDE-EDSO)
2021-12-09 16:25 ` [PATCH 1/1] " Dembianny, Sven (GDE-EDSO)
2021-12-11 19:04   ` Hauke Mehrtens
  -- strict thread matches above, loose matches on Subject: below --
2021-12-13 10:37 Dembianny, Sven (GDE-EDSO)
2021-12-14 22:56 ` Hauke Mehrtens

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.