Skip to content

Commit eaa5a91

Browse files
committed
Merge remote-tracking branch 'stable/linux-6.12.y' into rpi-6.12.y
2 parents 78fd5c9 + 8a243ec commit eaa5a91

File tree

67 files changed

+441
-163
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+441
-163
lines changed

Documentation/sphinx/kernel_abi.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,11 @@
4242
from docutils import nodes, statemachine
4343
from docutils.statemachine import ViewList
4444
from docutils.parsers.rst import directives, Directive
45-
from docutils.utils.error_reporting import ErrorString
4645
from sphinx.util.docutils import switch_source_input
4746

47+
def ErrorString(exc): # Shamelessly stolen from docutils
48+
return f'{exc.__class__.__name}: {exc}'
49+
4850
__version__ = '1.0'
4951

5052
def setup(app):

Documentation/sphinx/kernel_feat.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@
4040
from docutils import nodes, statemachine
4141
from docutils.statemachine import ViewList
4242
from docutils.parsers.rst import directives, Directive
43-
from docutils.utils.error_reporting import ErrorString
4443
from sphinx.util.docutils import switch_source_input
4544

45+
def ErrorString(exc): # Shamelessly stolen from docutils
46+
return f'{exc.__class__.__name}: {exc}'
47+
4648
__version__ = '1.0'
4749

4850
def setup(app):

Documentation/sphinx/kernel_include.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,15 @@
3434
import os.path
3535

3636
from docutils import io, nodes, statemachine
37-
from docutils.utils.error_reporting import SafeString, ErrorString
3837
from docutils.parsers.rst import directives
3938
from docutils.parsers.rst.directives.body import CodeBlock, NumberLines
4039
from docutils.parsers.rst.directives.misc import Include
4140

4241
__version__ = '1.0'
4342

43+
def ErrorString(exc): # Shamelessly stolen from docutils
44+
return f'{exc.__class__.__name}: {exc}'
45+
4446
# ==============================================================================
4547
def setup(app):
4648
# ==============================================================================
@@ -111,7 +113,7 @@ def _run(self):
111113
raise self.severe('Problems with "%s" directive path:\n'
112114
'Cannot encode input file path "%s" '
113115
'(wrong locale?).' %
114-
(self.name, SafeString(path)))
116+
(self.name, path))
115117
except IOError as error:
116118
raise self.severe('Problems with "%s" directive path:\n%s.' %
117119
(self.name, ErrorString(error)))

Documentation/sphinx/maintainers_include.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,12 @@
2222
import os.path
2323

2424
from docutils import statemachine
25-
from docutils.utils.error_reporting import ErrorString
2625
from docutils.parsers.rst import Directive
2726
from docutils.parsers.rst.directives.misc import Include
2827

28+
def ErrorString(exc): # Shamelessly stolen from docutils
29+
return f'{exc.__class__.__name}: {exc}'
30+
2931
__version__ = '1.0'
3032

3133
def setup(app):

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: GPL-2.0
22
VERSION = 6
33
PATCHLEVEL = 12
4-
SUBLEVEL = 56
4+
SUBLEVEL = 57
55
EXTRAVERSION =
66
NAME = Baby Opossum Posse
77

arch/alpha/kernel/asm-offsets.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* This code generates raw asm output which is post-processed to extract
55
* and format the required data.
66
*/
7+
#define COMPILE_OFFSETS
78

89
#include <linux/types.h>
910
#include <linux/stddef.h>

arch/arc/kernel/asm-offsets.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/*
33
* Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
44
*/
5+
#define COMPILE_OFFSETS
56

67
#include <linux/sched.h>
78
#include <linux/mm.h>

arch/arm/kernel/asm-offsets.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
* This code generates raw asm output which is post-processed to extract
88
* and format the required data.
99
*/
10+
#define COMPILE_OFFSETS
11+
1012
#include <linux/compiler.h>
1113
#include <linux/sched.h>
1214
#include <linux/mm.h>

arch/arm64/kernel/asm-offsets.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* 2001-2002 Keith Owens
77
* Copyright (C) 2012 ARM Ltd.
88
*/
9+
#define COMPILE_OFFSETS
910

1011
#include <linux/arm_sdei.h>
1112
#include <linux/sched.h>

arch/csky/kernel/asm-offsets.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0
22
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
3+
#define COMPILE_OFFSETS
34

45
#include <linux/sched.h>
56
#include <linux/kernel_stat.h>

0 commit comments

Comments
 (0)