Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'modules-for-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux

Pull module updates from Jessica Yu:
"Only a small cleanup this time around: a trivial conversion of
zero-length arrays to flexible arrays"

* tag 'modules-for-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux:
kernel: module: Replace zero-length array with flexible-array member

+2 -2
+2 -2
kernel/module.c
··· 1515 1515 struct module_sect_attrs { 1516 1516 struct attribute_group grp; 1517 1517 unsigned int nsections; 1518 - struct module_sect_attr attrs[0]; 1518 + struct module_sect_attr attrs[]; 1519 1519 }; 1520 1520 1521 1521 static ssize_t module_sect_show(struct module_attribute *mattr, ··· 1608 1608 struct module_notes_attrs { 1609 1609 struct kobject *dir; 1610 1610 unsigned int notes; 1611 - struct bin_attribute attrs[0]; 1611 + struct bin_attribute attrs[]; 1612 1612 }; 1613 1613 1614 1614 static ssize_t module_notes_read(struct file *filp, struct kobject *kobj,