hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/mtd/devices/phram.c
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /**
23 * Copyright (c) ???? Jochen Schäuble <psionic@psionic.de>
34 * Copyright (c) 2003-2004 Joern Engel <joern@wh.fh-wedel.de>
....@@ -147,8 +148,10 @@
147148 switch (token[len - 2]) {
148149 case 'G':
149150 shift += 10;
151
+ fallthrough;
150152 case 'M':
151153 shift += 10;
154
+ fallthrough;
152155 case 'k':
153156 shift += 10;
154157 token[len - 2] = 0;
....@@ -294,7 +297,7 @@
294297 #endif
295298 }
296299
297
-module_param_call(phram, phram_param_call, NULL, NULL, 000);
300
+module_param_call(phram, phram_param_call, NULL, NULL, 0200);
298301 MODULE_PARM_DESC(phram, "Memory region to map. \"phram=<name>,<start>,<length>\"");
299302
300303