Skip to content

Compat

Arnaud Lacombe linux-wireless 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest44 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/44compat/2.6.17: add header's skeletoninclude/linux/compat-2.6.17.h+11 -00 replies
2/44compat/2.6.17: add compat macro for `NET_SKB_PAD'include/linux/compat-2.6.17.h+2 -00 replies
3/44compat/2.6.18: add compat skeleton for the `hwrng' APIinclude/linux/compat-2.6.18.h+24 -00 replies
4/44compat/2.6.18: add compat inline for netdev_alloc_skb()include/linux/compat-2.6.18.h+21 -02 replies
5/44compat/2.6.19: fix commentinclude/linux/compat-2.6.19.h+1 -10 replies
6/44compat/2.6.19: add typedef for `bool' and `true'/`false'include/linux/compat-2.6.19.h+8 -00 replies
7/44compat/2.6.19: rework compat macro to kmem_cache_destroy()include/linux/compat-2.6.19.h+1 -101 reply
8/44compat/2.6.20: add header's skeletoninclude/linux/compat-2.6.20.h+11 -00 replies
9/44compat/2.6.20: add compat macro for `struct delayed_work'include/linux/compat-2.6.20.h+3 -00 replies
10/44compat/2.6.23: add compat inline for notifier_{from,to}_errno()include/linux/compat-2.6.23.h+14 -00 replies
11/44compat/2.6.24: add compat macro for sk_alloc()include/linux/compat-2.6.24.h+3 -00 replies
12/44compat/2.6.25: don't include <linux/hw_random.h> prior to 2.6.18include/linux/compat-2.6.25.h+3 -10 replies
13/44compat/2.6.25: don't include <linux/{io,leds}.h> prior to 2.6.17include/linux/compat-2.6.25.h+2 -00 replies
14/44compat/2.6.25: conditionally defines `__WARN'include/linux/compat-2.6.25.h+2 -00 replies
15/44compat/2.6.25: add compat macro for ip_route_output_key()include/linux/compat-2.6.25.h+2 -00 replies
16/44compat/2.6.29: don't include <linux/if_link.h> prior to 2.6.19include/linux/compat-2.6.29.h+2 -00 replies
17/44compat/2.6.29: const'ify compat inline to dev_get_stats()include/linux/compat-2.6.29.h+2 -10 replies
18/44compat/2.6.31: gather all the threaded IRQ backport togetherinclude/linux/compat-2.6.31.h+9 -100 replies
19/44compat/2.6.31: fix threaded irq backport wrt. INIT_WORK() macroinclude/linux/compat-2.6.31.h+14 -00 replies
20/44compat/2.6.32: fix compat inline to flush_delayed_work()include/linux/compat-2.6.32.h+5 -00 replies
21/44compat/2.6.32: add compat macros for sysctl helpersinclude/linux/compat-2.6.32.h+24 -00 replies
22/44compat/2.6.33: add compat macro to BUILD_BUG_ON_NOT_POWER_OF_2()include/linux/compat-2.6.33.h+3 -00 replies
23/44compat/2.6.33: fix pcmcia includeinclude/linux/compat-2.6.33.h+2 -00 replies
24/44compat/2.6.33: don't export prototype for pccard_loop_tuple()include/linux/compat-2.6.33.h+0 -70 replies
25/44compat/2.6.36: `va_list' needs <stdarg.h>include/linux/compat-2.6.36.h+1 -00 replies
26/44compat: remove a couple of macro definition protectioninclude/linux/compat-2.6.31.h include/linux/compat-2.6.32.h+0 -60 replies
27/44compat/2.6.33: remove macro not in mainlineinclude/linux/compat-2.6.23.h+0 -41 reply
28/44compat: avoid using `#include_next' directive in compat headersinclude/linux/pm_qos_params.h include/linux/tracepoint.h include/net/net_namespace.h +1 more+17 -239 replies
29/44compat/2.6.22: rework `uninitialized_var' and `__maybe_unused' macrosinclude/linux/compat-2.6.22.h+11 -20 replies
30/44compat/2.6.22: nuke pci_{clear,set}_mwi()include/linux/compat-2.6.22.h+0 -91 reply
31/44compat/2.6.22: add compat for couple of TCP accessorsinclude/linux/compat-2.6.22.h+20 -01 reply
32/44compat/2.6.22: add compat inline for ip_hdrlen()include/linux/compat-2.6.22.h+5 -00 replies
33/44compat/2.6.22: constify skb_transport_header()'s argumentinclude/linux/compat-2.6.22.h+1 -10 replies
34/44compat/2.6.24: move 'struct net' to its own compat headerinclude/linux/compat-2.6.24.h include/net/net_namespace.h+36 -310 replies
35/44compat/2.6.26: {U,}SHORT_MAX/SHORT_MIN have been deprecatedinclude/linux/compat-2.6.26.h+0 -50 replies
36/44compat/2.6.26: move unaligned backport to its own headerinclude/linux/asm/unaligned.h include/linux/compat-2.6.26.h+197 -2111 reply
37/44compat/2.6.2{7,8}: fix definition for IEEE80211_HT_CAP_DSSSCCK40include/linux/compat-2.6.27.h include/linux/compat-2.6.28.h+3 -30 replies
38/44compat/2.6.2{8,9}: fix tracepoint macrosinclude/linux/compat-2.6.28.h include/linux/compat-2.6.29.h+20 -240 replies
39/44compat/2.6.29: protect headers inclusioninclude/linux/compat-2.6.29.h+3 -20 replies
40/44compat/2.6.29: don't waste space around DIV_ROUND_CLOSEST()include/linux/compat-2.6.29.h+2 -40 replies
41/44compat/2.6.29: fix typosinclude/linux/compat-2.6.29.h+2 -20 replies
42/44compat/2.6.{21,30}: make dev_set_uevent_suppress() a no-op for <2.6.21include/linux/compat-2.6.30.h+2 -00 replies
43/44compat/2.6.{19,31}: fix threaded irq backport for <2.6.19include/linux/compat-2.6.31.h+17 -00 replies
44/44compat/2.6.35: 2.6.35 does not define `SHRT_MIN'include/linux/compat-2.6.35.h+0 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/44] Compat

Hi Luis,

You will find in answer of this mail the first part of the compat upgrade I am using to support a network-oriented module on kernel from 2.6.15 to 2.6.36.

All this code is available on my repository on github:

https://github.com/lacombar/linux-compat.git local

This repository also contains the second part I will post later concerning a tentative to reduce namespace pollution when using the compat module. As it is mostly mechanical, I will start another thread with a single proof of concept patch and gather feedbacks :)

Comments welcome !

Thanks,
- Arnaud

Arnaud Lacombe (44):
compat/2.6.17: add header's skeleton
compat/2.6.17: add compat macro for NET_SKB_PAD' compat/2.6.18: add compat skeleton for the hwrng' API compat/2.6.18: add compat inline for netdev_alloc_skb() compat/2.6.19: fix comment
compat/2.6.19: add typedef for bool' and true'/`false' compat/2.6.19: rework compat macro to kmem_cache_destroy() compat/2.6.20: add header's skeleton
compat/2.6.20: add compat macro for `struct delayed_work' compat/2.6.23: add compat inline for notifier_{from,to}_errno() compat/2.6.24: add compat macro for sk_alloc() compat/2.6.25: don't include <linux/hw_random.h> prior to 2.6.18 compat/2.6.25: don't include <linux/{io,leds}.h> prior to 2.6.17 compat/2.6.25: conditionally defines `__WARN' compat/2.6.25: add compat macro for ip_route_output_key() compat/2.6.29: don't include <linux/if_link.h> prior to 2.6.19 compat/2.6.29: const'ify compat inline to dev_get_stats() compat/2.6.31: gather all the threaded IRQ backport together compat/2.6.31: fix threaded irq backport wrt. INIT_WORK() macro compat/2.6.32: fix compat inline to flush_delayed_work() compat/2.6.32: add compat macros for sysctl helpers compat/2.6.33: add compat macro to BUILD_BUG_ON_NOT_POWER_OF_2() compat/2.6.33: fix pcmcia include
compat/2.6.33: don't export prototype for pccard_loop_tuple() compat/2.6.36: `va_list' needs <stdarg.h>
compat: remove a couple of macro definition protection compat/2.6.33: remove macro not in mainline
compat: avoid using #include_next' directive in compat headers compat/2.6.22: rework uninitialized_var' and `__maybe_unused' macros compat/2.6.22: nuke pci_{clear,set}_mwi()
compat/2.6.22: add compat for couple of TCP accessors compat/2.6.22: add compat inline for ip_hdrlen() compat/2.6.22: constify skb_transport_header()'s argument compat/2.6.24: move 'struct net' to its own compat header compat/2.6.26: {U,}SHORT_MAX/SHORT_MIN have been deprecated compat/2.6.26: move unaligned backport to its own header compat/2.6.2{7,8}: fix definition for IEEE80211_HT_CAP_DSSSCCK40 compat/2.6.2{8,9}: fix tracepoint macros
compat/2.6.29: protect headers inclusion
compat/2.6.29: don't waste space around DIV_ROUND_CLOSEST() compat/2.6.29: fix typos
compat/2.6.{21,30}: make dev_set_uevent_suppress() a no-op for

    <2.6.21

compat/2.6.{19,31}: fix threaded irq backport for <2.6.19 compat/2.6.35: 2.6.35 does not define `SHRT_MIN'

 include/linux/asm/unaligned.h |  194 ++++++++++++++++++++++++++++++++++++
 include/linux/compat-2.6.17.h |   13 +++
 include/linux/compat-2.6.18.h |   45 +++++++++
 include/linux/compat-2.6.19.h |   23 ++---
 include/linux/compat-2.6.20.h |   14 +++
 include/linux/compat-2.6.22.h |   41 ++++++--
 include/linux/compat-2.6.23.h |   18 +++-
 include/linux/compat-2.6.24.h |   34 +------
 include/linux/compat-2.6.25.h |   10 ++-
 include/linux/compat-2.6.26.h |  219 +----------------------------------------
 include/linux/compat-2.6.27.h |    3 -
 include/linux/compat-2.6.28.h |   27 +-----
 include/linux/compat-2.6.29.h |   40 ++++++--
 include/linux/compat-2.6.30.h |    2 +
 include/linux/compat-2.6.31.h |   54 ++++++++---
 include/linux/compat-2.6.32.h |   31 ++++++-
 include/linux/compat-2.6.33.h |   12 +--
 include/linux/compat-2.6.35.h |    1 -
 include/linux/compat-2.6.36.h |    1 +
 include/linux/pm_qos_params.h |    7 +-
 include/linux/tracepoint.h    |   14 ++--
 include/net/net_namespace.h   |   50 ++++++++--
 include/trace/define_trace.h  |    5 -
 23 files changed, 503 insertions(+), 355 deletions(-)
 create mode 100644 include/linux/asm/unaligned.h
 create mode 100644 include/linux/compat-2.6.17.h
 create mode 100644 include/linux/compat-2.6.20.h
Signature · 1 line
1.7.2.30.gc37d7.dirty