summaryrefslogtreecommitdiffstats
path: root/arch/unicore32
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2015-06-30 18:07:17 +0200
committerDan Williams <dan.j.williams@intel.com>2015-06-30 18:07:17 +0200
commit31f02455455d405320e2f749696bef4e02903b35 (patch)
tree300b811ed1e6a13d58d83f3117b37bceda92c800 /arch/unicore32
parentMerge tag 'libnvdimm-for-4.2' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff)
downloadlinux-31f02455455d405320e2f749696bef4e02903b35.tar.xz
linux-31f02455455d405320e2f749696bef4e02903b35.zip
sparse: fix misplaced __pmem definition
Move the definition of __pmem outside of CONFIG_SPARSE_RCU_POINTER to fix: drivers/nvdimm/pmem.c:198:17: sparse: too many arguments for function __builtin_expect drivers/nvdimm/pmem.c:36:33: sparse: expected ; at end of declaration drivers/nvdimm/pmem.c:48:21: sparse: void declaration ...due to __pmem failing to be defined in some configurations when CONFIG_SPARSE_RCU_POINTER=y. Reported-by: kbuild test robot <fengguang.wu@intel.com> Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'arch/unicore32')
0 files changed, 0 insertions, 0 deletions