Paul Burton
b7fc2cc59a
MIPS: Declare various variables & functions static
...
We currently have various variables & functions which are only used
within a single translation unit, but which we don't declare static.
This causes various sparse warnings of the form:
arch/mips/kernel/mips-r2-to-r6-emul.c:49:1: warning: symbol
'mipsr2emustats' was not declared. Should it be static?
arch/mips/kernel/unaligned.c:1381:11: warning: symbol 'reg16to32st'
was not declared. Should it be static?
arch/mips/mm/mmap.c:146:15: warning: symbol 'arch_mmap_rnd' was not
declared. Should it be static?
Fix these & others by declaring various affected variables & functions
static, avoiding the sparse warnings & redundant symbols.
[ralf@linux-mips.org: Add Marcin's build fix.]
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: trivial@kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/17176/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2017-08-29 15:21:55 +02:00
..
2017-03-22 11:53:57 +01:00
2017-02-01 09:13:51 +01:00
2017-02-01 09:13:51 +01:00
2016-05-09 12:00:01 +02:00
2016-05-09 12:00:01 +02:00
2017-06-29 02:42:27 +02:00
2017-02-13 18:57:34 +00:00
2017-04-14 13:11:16 -07:00
2017-04-14 13:11:16 -07:00
2017-04-14 13:11:16 -07:00
2017-04-10 13:31:12 +02:00
2017-04-14 13:11:16 -07:00
2017-04-14 13:11:16 -07:00
2017-06-29 02:42:25 +02:00
2015-11-11 08:34:25 +01:00
2017-06-29 02:42:28 +02:00
2017-01-24 18:30:34 +01:00
2017-08-29 15:21:55 +02:00
2016-12-24 11:46:01 -08:00
2017-03-02 08:42:36 +01:00
2016-12-25 11:04:12 +01:00
2016-12-25 11:04:12 +01:00
2016-12-25 11:04:12 +01:00
2016-12-25 11:04:12 +01:00
2013-10-29 21:24:36 +01:00
2017-04-12 15:22:13 +02:00
2017-06-30 04:40:18 +02:00
2017-06-08 14:51:59 +02:00
2017-03-22 11:53:57 +01:00
2016-02-19 09:51:44 +01:00
2017-06-27 23:35:21 +02:00
2017-08-29 15:21:54 +02:00
2014-06-26 10:48:23 +01:00
2017-01-03 16:34:34 +01:00
2017-05-26 10:10:45 +02:00
2017-04-12 22:29:22 +02:00
2016-10-06 17:37:40 +02:00
2017-01-25 02:51:11 +01:00
2017-01-03 16:34:46 +01:00
2017-08-29 15:21:51 +02:00
2017-01-03 16:34:49 +01:00
2013-05-08 01:19:07 +02:00
2017-06-29 02:42:28 +02:00
2016-11-04 00:17:46 +01:00
2017-03-02 08:42:35 +01:00
2014-05-24 00:07:01 +02:00
2017-08-29 15:21:55 +02:00
2017-07-15 10:59:54 -07:00
2017-08-29 15:21:51 +02:00
2017-06-28 12:22:39 +02:00
2017-03-02 08:42:36 +01:00
2017-08-29 15:21:55 +02:00
2016-05-09 12:00:02 +02:00
2016-10-06 17:37:40 +02:00
2017-07-11 14:13:50 +02:00
2017-05-29 09:40:54 -07:00
2017-01-03 16:34:45 +01:00
2017-03-02 08:42:36 +01:00
2017-07-11 14:13:06 +02:00
2017-08-29 15:21:51 +02:00
2017-08-29 15:21:51 +02:00
2017-08-29 15:21:51 +02:00
2017-08-29 15:21:51 +02:00
2015-08-03 15:26:30 +02:00
2017-04-12 17:02:04 +02:00
2015-04-01 17:21:58 +02:00
2014-08-01 17:30:35 +02:00
2014-08-01 17:30:35 +02:00
2017-03-02 08:42:32 +01:00
2017-06-28 12:22:40 +02:00
2017-06-28 12:22:40 +02:00
2017-06-28 12:22:40 +02:00
2017-06-28 12:22:40 +02:00
2016-07-28 11:44:30 +02:00
2017-06-29 02:42:23 +02:00
2016-12-24 11:46:01 -08:00
2016-12-24 11:46:01 -08:00
2017-03-02 08:42:29 +01:00
2015-09-03 12:07:59 +02:00
2016-08-06 09:13:11 -04:00
2017-08-29 15:21:50 +02:00
2017-08-29 15:21:50 +02:00
2017-08-29 15:21:50 +02:00
2017-08-29 15:21:50 +02:00
2017-08-29 15:21:50 +02:00
2017-08-29 15:21:50 +02:00
2015-10-26 09:49:42 +01:00
2016-05-13 14:01:52 +02:00
2017-03-02 08:42:36 +01:00
2017-02-13 18:58:39 +00:00
2017-06-28 12:22:40 +02:00
2015-09-03 12:07:45 +02:00
2017-08-29 15:21:55 +02:00
2017-08-29 15:21:52 +02:00
2017-08-29 15:21:55 +02:00
2017-01-03 16:34:48 +01:00
2017-02-24 17:46:55 -08:00
2017-04-03 10:22:40 +02:00
2014-01-22 20:19:02 +01:00
2014-05-24 00:07:01 +02:00
2015-12-04 22:46:25 +01:00
2016-05-13 14:02:13 +02:00