Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 207290
b: refs/heads/master
c: ea6b101
h: refs/heads/master
v: v3
  • Loading branch information
Rusty Russell authored and Linus Torvalds committed Aug 10, 2010
1 parent d737e19 commit cf26d67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7387be3373277005c171b9f1509e91fae2e430f3
refs/heads/master: ea6b101d8a3ea4e1dec29df31188c2f9852296fe
3 changes: 1 addition & 2 deletions trunk/include/linux/compiler-gcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
(typeof(ptr)) (__ptr + (off)); })

/* &a[0] degrades to a pointer: a different type from an array */
#define __must_be_array(a) \
BUILD_BUG_ON_ZERO(__builtin_types_compatible_p(typeof(a), typeof(&a[0])))
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))

/*
* Force always-inline if the user requests it so via the .config,
Expand Down

0 comments on commit cf26d67

Please sign in to comment.