Revision 7206d58a3a538c80b36305d1904de313cf47ef4c authored by Gustavo A. R. Silva on 27 October 2020, 06:33:56 UTC, committed by Gustavo A. R. Silva on 30 October 2020, 21:57:42 UTC
There is a regular need in the kernel to provide a way to declare having a dynamically sized set of trailing elements in a structure. Kernel code should always use “flexible array members”[1] for these cases. The older style of one-element or zero-length arrays should no longer be used[2]. [1] https://en.wikipedia.org/wiki/Flexible_array_member [2] https://www.kernel.org/doc/html/v5.9/process/deprecated.html#zero-length-and-one-element-arrays Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
1 parent 2905620
File | Mode | Size |
---|---|---|
ams | ||
Kconfig | -rw-r--r-- | 9.3 KB |
Makefile | -rw-r--r-- | 2.3 KB |
adb-iop.c | -rw-r--r-- | 5.6 KB |
adb.c | -rw-r--r-- | 19.9 KB |
adbhid.c | -rw-r--r-- | 34.3 KB |
ans-lcd.c | -rw-r--r-- | 4.0 KB |
ans-lcd.h | -rw-r--r-- | 218 bytes |
apm_emu.c | -rw-r--r-- | 2.7 KB |
mac_hid.c | -rw-r--r-- | 6.1 KB |
macio-adb.c | -rw-r--r-- | 6.5 KB |
macio_asic.c | -rw-r--r-- | 20.3 KB |
macio_sysfs.c | -rw-r--r-- | 1.8 KB |
mediabay.c | -rw-r--r-- | 18.7 KB |
rack-meter.c | -rw-r--r-- | 15.4 KB |
smu.c | -rw-r--r-- | 30.5 KB |
therm_adt746x.c | -rw-r--r-- | 16.3 KB |
therm_windtunnel.c | -rw-r--r-- | 12.6 KB |
via-cuda.c | -rw-r--r-- | 19.3 KB |
via-macii.c | -rw-r--r-- | 14.1 KB |
via-pmu-backlight.c | -rw-r--r-- | 4.5 KB |
via-pmu-event.c | -rw-r--r-- | 2.1 KB |
via-pmu-event.h | -rw-r--r-- | 216 bytes |
via-pmu-led.c | -rw-r--r-- | 3.1 KB |
via-pmu.c | -rw-r--r-- | 63.5 KB |
windfarm.h | -rw-r--r-- | 4.1 KB |
windfarm_ad7417_sensor.c | -rw-r--r-- | 7.7 KB |
windfarm_core.c | -rw-r--r-- | 10.3 KB |
windfarm_cpufreq_clamp.c | -rw-r--r-- | 2.6 KB |
windfarm_fcu_controls.c | -rw-r--r-- | 14.2 KB |
windfarm_lm75_sensor.c | -rw-r--r-- | 4.3 KB |
windfarm_lm87_sensor.c | -rw-r--r-- | 4.1 KB |
windfarm_max6690_sensor.c | -rw-r--r-- | 3.2 KB |
windfarm_mpu.h | -rw-r--r-- | 3.7 KB |
windfarm_pid.c | -rw-r--r-- | 3.7 KB |
windfarm_pid.h | -rw-r--r-- | 2.7 KB |
windfarm_pm112.c | -rw-r--r-- | 18.0 KB |
windfarm_pm121.c | -rw-r--r-- | 25.0 KB |
windfarm_pm72.c | -rw-r--r-- | 20.4 KB |
windfarm_pm81.c | -rw-r--r-- | 21.2 KB |
windfarm_pm91.c | -rw-r--r-- | 18.0 KB |
windfarm_rm31.c | -rw-r--r-- | 17.6 KB |
windfarm_smu_controls.c | -rw-r--r-- | 8.0 KB |
windfarm_smu_sat.c | -rw-r--r-- | 8.2 KB |
windfarm_smu_sensors.c | -rw-r--r-- | 11.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...