mirror of https://github.com/torvalds/linux.git
Sparse reports this repesentative issue pdr_internal.h:31:22: warning: symbol 'servreg_location_entry_ei' was not declared. Should it be static? Similar for other servreg_* Global variables should not be defined in header files. This only works because pdr_internal.h is only included by pdr_interface.c. Single file use variables should be static so add static to their storage-class specifiers. Signed-off-by: Tom Rix <trix@redhat.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20220422173806.21982-1-trix@redhat.com |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| apr.c | ||
| cmd-db.c | ||
| cpr.c | ||
| kryo-l2-accessors.c | ||
| llcc-qcom.c | ||
| mdt_loader.c | ||
| ocmem.c | ||
| pdr_interface.c | ||
| pdr_internal.h | ||
| qcom-geni-se.c | ||
| qcom_aoss.c | ||
| qcom_gsbi.c | ||
| qcom_stats.c | ||
| qmi_encdec.c | ||
| qmi_interface.c | ||
| rmtfs_mem.c | ||
| rpmh-internal.h | ||
| rpmh-rsc.c | ||
| rpmh.c | ||
| rpmhpd.c | ||
| rpmpd.c | ||
| smd-rpm.c | ||
| smem.c | ||
| smem_state.c | ||
| smp2p.c | ||
| smsm.c | ||
| socinfo.c | ||
| spm.c | ||
| trace-rpmh.h | ||
| wcnss_ctrl.c | ||