-
Adam Wujek authored
Remove following warning when comparing variables: In file included from include/linux/cache.h:4:0, from include/linux/time.h:4, from include/linux/stat.h:18, from include/linux/sysfs.h:20, from include/linux/kobject.h:21, from include/linux/device.h:17, from /nfs/cs-ccr-nfsdev/vol1/u1/awujek/coht/fmc/svec-sw/kernel/svec-sysfs.c:11: /nfs/cs-ccr-nfsdev/vol1/u1/awujek/coht/fmc/svec-sw/kernel/svec-sysfs.c: In function ‘__next_token’: include/linux/kernel.h:724:17: warning: comparison of distinct pointer types lacks a cast [enabled by default] (void) (&_min1 == &_min2); \ ^ /nfs/cs-ccr-nfsdev/vol1/u1/awujek/coht/fmc/svec-sw/kernel/svec-sysfs.c:297:8: note: in expansion of macro ‘min’ len = min(p - tok + 1, buf_length - 1); ^ Signed-off-by: Adam Wujek <adam.wujek@cern.ch>
c09879b1