summaryrefslogtreecommitdiffstats
path: root/config/kernel-kobj-name-len.m4
diff options
context:
space:
mode:
Diffstat (limited to 'config/kernel-kobj-name-len.m4')
-rw-r--r--config/kernel-kobj-name-len.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/config/kernel-kobj-name-len.m4 b/config/kernel-kobj-name-len.m4
index 5363a41ca..37999fabb 100644
--- a/config/kernel-kobj-name-len.m4
+++ b/config/kernel-kobj-name-len.m4
@@ -9,7 +9,7 @@ AC_DEFUN([ZFS_AC_KERNEL_KOBJ_NAME_LEN], [
ZFS_LINUX_TRY_COMPILE([
#include <linux/kobject.h>
],[
- int val;
+ int val __attribute__ ((unused));
val = KOBJ_NAME_LEN;
],[
AC_MSG_RESULT([yes])