projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b35a17
)
alpha: Replace one-element array with flexible array member
author
Thorsten Blum
<thorsten.blum@linux.dev>
Tue, 7 Jan 2025 10:43:42 +0000
(11:43 +0100)
committer
Matt Turner
<mattst88@gmail.com>
Fri, 14 Feb 2025 19:06:15 +0000
(14:06 -0500)
Replace the deprecated one-element array with a modern flexible array
member in the struct crb_struct.
Reviewed-by: Kees Cook <kees@kernel.org>
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Matt Turner <mattst88@gmail.com>
arch/alpha/include/asm/hwrpb.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/alpha/include/asm/hwrpb.h
b/arch/alpha/include/asm/hwrpb.h
index fc76f36265ad140f8858751ea67bcc50f5739f9c..db831cf8de10860e32c71233cdf9da86581b80b1 100644
(file)
--- a/
arch/alpha/include/asm/hwrpb.h
+++ b/
arch/alpha/include/asm/hwrpb.h
@@
-135,7
+135,7
@@
struct crb_struct {
/* virtual->physical map */
unsigned long map_entries;
unsigned long map_pages;
- struct vf_map_struct map[
1
];
+ struct vf_map_struct map[];
};
struct memclust_struct {