Files
kernel_amazon_mt8127-common/include/linux
Borislav Petkov 9490991482 Add unitialized_var() macro for suppressing gcc warnings
Introduce a macro for suppressing gcc from generating a warning about a
probable uninitialized state of a variable.

Example:

-	spinlock_t *ptl;
+	spinlock_t *uninitialized_var(ptl);

Not a happy solution, but those warnings are obnoxious.

- Using the usual pointlessly-set-it-to-zero approach wastes several
  bytes of text.

- Using a macro means we can (hopefully) do something else if gcc changes
  cause the `x = x' hack to stop working

- Using a macro means that people who are worried about hiding true bugs
  can easily turn it off.

Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-07 12:12:52 -07:00
..
2007-05-01 16:11:57 +02:00
2007-04-30 22:17:15 -07:00
2007-04-27 10:57:31 -07:00
2007-05-03 13:17:25 -07:00
2007-04-28 11:01:07 -04:00
2007-05-01 23:26:34 +02:00
2007-05-05 22:03:49 +02:00
2007-04-25 22:30:01 -07:00
2007-04-25 22:29:10 -07:00
2007-04-25 22:29:10 -07:00
2007-04-30 16:40:39 -07:00
2007-05-03 10:52:22 +03:00
2007-04-30 16:40:40 -07:00
2007-04-25 22:29:49 -07:00
2007-05-03 10:52:32 +03:00
2007-05-03 10:52:22 +03:00
2007-05-07 12:12:51 -07:00
2007-05-04 17:59:07 -07:00
2007-05-07 12:12:51 -07:00
2007-05-05 14:15:32 -07:00
2007-04-30 16:40:41 -07:00
2007-04-27 10:46:51 -07:00
2007-05-07 12:12:50 -07:00
2007-05-03 03:16:20 -07:00
2007-05-07 12:12:52 -07:00
2007-05-04 12:55:39 -07:00