Andy Whitcroft
fb2d2c1b58
checkpatch: ensure we do not collapse bracketed sections into constants
...
When determining if a return () sequence is a function style bracketing we
simplify the expression one bracket at a time replacing each with a
constant. However this can trigger a false merge with expressions as
below:
return (foo)0;
Prevent this false merging.
Reported-by: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp>
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-10-26 16:52:19 -07:00
..
2010-09-22 16:31:19 -04:00
2010-06-12 00:00:29 +02:00
2010-07-02 13:51:11 +02:00
2010-02-02 14:33:55 +01:00
2010-10-09 23:55:08 +02:00
2005-04-16 15:20:36 -07:00
2010-08-12 10:01:59 -07:00
2010-08-06 09:30:52 -07:00
2010-02-02 14:33:56 +01:00
2010-03-16 08:47:36 +11:00
2009-09-19 11:42:12 +02:00
2009-10-07 11:44:18 -04:00
2005-04-16 15:20:36 -07:00
2007-12-17 19:28:17 -08:00
2009-02-15 12:50:08 +01:00
2010-03-07 21:19:57 +01:00
2010-06-03 10:39:39 +02:00
2010-10-26 16:52:19 -07:00
2010-03-07 21:19:09 +01:00
2010-06-25 14:54:16 -04:00
2010-03-07 21:22:56 +01:00
2007-07-16 21:15:50 +02:00
2007-07-16 21:15:50 +02:00
2010-06-28 16:44:53 +02:00
2009-06-14 22:48:08 +02:00
2009-09-23 07:39:28 -07:00
2010-06-04 10:26:35 +02:00
2008-07-25 22:12:41 +02:00
2010-03-07 21:41:04 +01:00
2009-10-07 11:44:18 -04:00
2010-09-24 09:12:25 +02:00
2009-06-09 22:37:54 +02:00
2009-02-11 12:17:29 +01:00
2009-02-11 12:17:29 +01:00
2010-06-01 08:55:52 -07:00
2010-10-26 16:52:17 -07:00
2010-02-09 11:13:56 +01:00
2010-03-23 12:26:38 +01:00
2010-03-07 21:43:07 +01:00
2010-03-07 21:43:49 +01:00
2009-12-12 13:08:14 +01:00
2010-02-02 14:33:56 +01:00
2009-12-12 13:08:16 +01:00
2010-09-11 16:49:21 -07:00
2008-04-29 08:06:04 -07:00
2010-10-14 16:52:41 -04:00
2010-10-21 16:42:32 -07:00
2008-04-25 20:18:48 +02:00
2008-08-02 07:52:29 +01:00
2010-08-14 22:26:52 +02:00
2010-06-12 00:00:29 +02:00
2008-04-25 20:18:48 +02:00
2010-09-22 16:31:19 -04:00
2010-06-10 12:23:08 +02:00
2009-01-14 21:38:20 +01:00
2010-08-03 14:59:50 +02:00
2007-10-15 22:25:06 +02:00
2010-06-01 08:55:52 -07:00
2010-02-02 14:33:56 +01:00
2010-08-17 11:47:40 +02:00
2009-01-14 21:38:20 +01:00
2007-05-02 20:58:10 +02:00
2005-04-16 15:20:36 -07:00
2009-06-24 15:13:38 +09:00
2010-03-07 21:38:32 +01:00
2008-08-06 22:11:33 +02:00
2009-06-30 18:55:59 -07:00
2010-03-07 21:39:33 +01:00
2010-10-15 11:49:47 -04:00
2010-10-14 16:54:00 -04:00
2010-09-02 15:28:43 +01:00
2010-08-21 15:14:59 +02:00
2010-02-02 14:33:56 +01:00
2010-03-08 10:26:22 +01:00
2009-12-12 13:08:16 +01:00
2009-06-09 22:37:54 +02:00