Florian Fainelli
b88fb18e7e
MIPS: MT: Fix build with CONFIG_UIDGID_STRICT_TYPE_CHECKS=y
...
When CONFIG_UIDGID_STRICT_TYPE_CHECKS is enabled, plain integer checking
between different uids/gids is explicitely turned into a build failure
by making the k{uid,gid}_t types a structure containing a value:
arch/mips/kernel/mips-mt-fpaff.c: In function 'check_same_owner':
arch/mips/kernel/mips-mt-fpaff.c:53:22: error: invalid operands to
binary == (have 'kuid_t' and 'kuid_t')
arch/mips/kernel/mips-mt-fpaff.c:54:15: error: invalid operands to
binary == (have 'kuid_t' and 'kuid_t')
In order to ensure proper comparison between uids, using the helper
function uid_eq() which performs the right thing whenever this config
option is turned on or off.
Signed-off-by: Florian Fainelli <florian@openwrt.org >
Patchwork: https://patchwork.linux-mips.org/patch/4717/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2012-12-13 18:15:26 +01:00
..
2012-08-01 18:10:06 +02:00
2008-08-26 09:10:27 +01:00
2011-10-31 19:30:57 -04:00
2012-12-12 16:52:07 +01:00
2009-07-03 15:45:27 +01:00
2011-12-07 22:03:18 +00:00
2011-12-07 22:04:03 +00:00
2011-12-07 22:03:45 +00:00
2011-12-07 22:03:45 +00:00
2011-12-07 22:03:45 +00:00
2012-09-13 15:43:49 -05:00
2011-12-07 22:03:45 +00:00
2010-10-07 14:08:54 +01:00
2011-12-07 22:03:45 +00:00
2012-03-28 18:30:02 +01:00
2012-10-11 11:05:03 +02:00
2012-12-13 17:00:39 +01:00
2012-12-13 16:46:47 +01:00
2011-02-21 13:33:50 -08:00
2011-02-21 13:33:50 -08:00
2011-02-21 13:33:50 -08:00
2011-02-21 13:33:50 -08:00
2011-02-21 13:33:50 -08:00
2012-09-22 15:47:31 +02:00
2011-09-21 17:52:04 +02:00
2009-01-30 21:32:58 +00:00
2009-11-02 12:00:07 +01:00
2011-12-07 22:03:45 +00:00
2011-09-21 17:52:28 +02:00
2012-03-28 18:30:02 +01:00
2011-03-29 14:48:07 +02:00
2012-09-13 15:43:51 -05:00
2011-03-29 14:48:07 +02:00
2011-10-31 19:30:57 -04:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2012-03-28 18:30:02 +01:00
2011-01-18 19:30:24 +01:00
2012-10-12 06:37:34 -05:00
2011-12-07 22:04:03 +00:00
2012-10-12 20:14:55 -04:00
2012-12-13 16:46:47 +01:00
2012-12-13 18:15:24 +01:00
2010-08-05 13:26:06 +01:00
2012-12-12 16:48:52 +01:00
2011-01-18 19:30:21 +01:00
2012-12-13 18:15:26 +01:00
2012-04-08 21:48:52 +02:00
2012-09-28 14:31:02 +09:30
2012-09-28 14:31:02 +09:30
2012-07-19 11:23:43 +02:00
2012-10-11 11:04:34 +02:00
2011-10-24 23:34:26 +01:00
2012-10-11 11:10:43 +02:00
2012-03-28 18:30:02 +01:00
2012-07-23 13:54:52 +01:00
2012-03-28 18:30:02 +01:00
2012-04-18 12:24:50 +10:00
2011-04-06 06:19:38 -07:00
2012-07-19 11:23:43 +02:00
2011-04-06 06:19:38 -07:00
2012-07-19 11:23:43 +02:00
2011-04-06 06:19:38 -07:00
2012-12-13 17:00:39 +01:00
2011-10-31 19:30:56 -04:00
2012-03-28 18:30:02 +01:00
2012-09-26 11:24:28 +02:00
2012-09-26 11:24:28 +02:00
2012-11-26 13:41:05 +01:00
2012-09-26 11:24:28 +02:00
2012-12-13 16:46:47 +01:00
2012-06-01 12:58:51 -04:00
2012-06-01 12:58:51 -04:00
2012-06-01 12:58:51 -04:00
2012-12-12 16:52:07 +01:00
2012-07-19 11:23:44 +02:00
2012-10-18 11:45:41 +02:00
2012-08-22 23:46:38 +02:00
2009-09-24 09:34:45 +09:30
2012-12-13 16:46:47 +01:00
2012-03-28 18:30:02 +01:00
2012-07-23 13:55:53 +01:00
2011-10-31 19:30:56 -04:00
2012-03-28 18:30:02 +01:00
2011-10-31 19:30:56 -04:00
2012-08-17 10:57:28 +02:00
2012-10-12 20:14:55 -04:00
2011-10-31 19:30:56 -04:00
2009-06-24 18:34:40 +01:00
2012-12-13 16:46:47 +01:00
2012-03-28 18:30:02 +01:00
2012-03-23 16:58:42 -07:00
2012-10-11 11:02:40 +02:00
2012-10-11 11:14:12 +02:00
2008-10-11 16:18:56 +01:00