compat: fix compilation for 3.10-rc1 and older
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | compat: add missing include in #else for compat-3.10.hinclude/ | +2 | 0 replies | |
| 2/2 | compat: handle renaming of random32() to prandom_u32()include/ | +14 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] compat: fix compilation for 3.10-rc1 and older
These two patches fix two issues that I encountered/found while compiling (a slightly older) compat-drivers against 3.10-rc1:
a) compat-3.10.h was missing an include in the #else branch, causing build failure.
b) random32() was renamed to prandom_u32(), so older kernels were missing an appropriate alias.
Jonas Gorski (2):
compat: add missing include in #else for compat-3.10.h
compat: handle renaming of random32() to prandom_u32()
include/linux/compat-3.10.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
Signature · 1 line
1.7.10.4