Set ignore bit to satisfy locpdep.
Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
.attr = {
.name = "features",
.mode = S_IRUGO,
+#ifdef CONFIG_DEBUG_LOCK_ALLOC
+ .ignore_lockdep = 1,
+#endif
},
.show = amdgpu_ras_sysfs_features_read,
};
.attr = {
.name = obj->fs_data.sysfs_name,
.mode = S_IRUGO,
+#ifdef CONFIG_DEBUG_LOCK_ALLOC
+ .ignore_lockdep = 1,
+#endif
},
.show = amdgpu_ras_sysfs_read,
};