✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] sysfs: constify sysfs create/remove files harder

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



== Series Details ==

Series: series starting with [1/2] sysfs: constify sysfs create/remove files harder
URL   : https://patchwork.freedesktop.org/series/50558/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
fd1ccbdbc465 sysfs: constify sysfs create/remove files harder
-:53: WARNING:FUNCTION_ARGUMENTS: function definition argument 'const struct attribute * const' should also have an identifier name
#53: FILE: include/linux/sysfs.h:246:
+void sysfs_remove_files(struct kobject *kobj, const struct attribute * const *attr);

total: 0 errors, 1 warnings, 0 checks, 48 lines checked
bac4039c6292 drm/i915/sysfs: make attrs arrays const

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux