nareshkamboju

linux-next build warning

Nov 16th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. In file included from ./include/linux/mmzone.h:17:0,
  2. from ./include/linux/mempolicy.h:10,
  3. from mm/mempolicy.c:70:
  4. mm/mempolicy.c: In function 'mpol_to_str':
  5. ./include/linux/nodemask.h:107:41: warning: the address of 'nodes' will always evaluate as 'true' [-Waddress]
  6. #define nodemask_pr_args(maskp) (maskp) ? MAX_NUMNODES : 0, (maskp) ? (maskp)->bits : NULL
  7. ^
  8. mm/mempolicy.c:2817:11: note: in expansion of macro 'nodemask_pr_args'
  9. nodemask_pr_args(&nodes));
  10. ^
  11. ./include/linux/nodemask.h:107:69: warning: the address of 'nodes' will always evaluate as 'true' [-Waddress]
  12. #define nodemask_pr_args(maskp) (maskp) ? MAX_NUMNODES : 0, (maskp) ? (maskp)->bits : NULL
  13. ^
  14. mm/mempolicy.c:2817:11: note: in expansion of macro 'nodemask_pr_args'
  15. nodemask_pr_args(&nodes));
  16. ^
Add Comment
Please, Sign In to add comment