2021-03-12 09:22:42

by Valdis Klētnieks

[permalink] [raw]
Subject: [PATCH] drm/msm: Fix sparse warnings in adreno-smmu-priv.h

sparse throws 27 complaints of the form:
CHECK /usr/src/linux-next/drivers/gpu/drm/msm/msm_perf.c
/usr/src/linux-next/drivers/gpu/drm/msm/msm_perf.c: note: in included file (through /usr/src/linux-next/drivers/gpu/drm/msm/msm_gpu.h):
/usr/src/linux-next/include/linux/adreno-smmu-priv.h:36:33: warning: no newline at end of file

Give it the missing newline...

Signed-off-by: Valdis Kletnieks <[email protected]>

diff --git a/include/linux/adreno-smmu-priv.h b/include/linux/adreno-smmu-priv.h
index a889f28afb42..977e7c3a21e6 100644
--- a/include/linux/adreno-smmu-priv.h
+++ b/include/linux/adreno-smmu-priv.h
@@ -33,4 +33,4 @@ struct adreno_smmu_priv {
int (*set_ttbr0_cfg)(const void *cookie, const struct io_pgtable_cfg *cfg);
};

-#endif /* __ADRENO_SMMU_PRIV_H */
\ No newline at end of file
+#endif /* __ADRENO_SMMU_PRIV_H */