ining.
In preparation for removal of static setup of IRQ resource from DT core
code use platform_get_irq().
Signed-off-by: zhaoxiao
---
drivers/video/fbdev/s3c-fb.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/video/fbdev/s3c-fb.c b/drivers/video/fbdev/s3c-
Fix following coccicheck warning:
drivers/gpu/drm/radeon/r100.c:3450:26-27: WARNING opportunity for max()
drivers/gpu/drm/radeon/r100.c:2812:23-24: WARNING opportunity for max()
Signed-off-by: zhaoxiao
---
drivers/gpu/drm/radeon/r100.c | 10 ++
1 file changed, 2 insertions(+), 8
Address the following checkpatch errors:
ERROR: do not initialise statics to false
FILE: :drivers/gpu/drm/msm/msm_drv.c:21:
-static bool reglog = false;
FILE: :drivers/gpu/drm/msm/msm_drv.c:31:
-bool dumpstate = false;
Signed-off-by: zhaoxiao
---
drivers/gpu/drm/msm/msm_drv.c | 4 ++--
1 file
Use a more common logging style.
Signed-off-by: zhaoxiao
---
v2:Remove the line: #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
drivers/gpu/drm/msm/adreno/adreno_gpu.c:23:9: warning: 'pr_fmt' macro
redefined [-Wmacro-redefined]
#define pr_fmt(fmt) KBU
Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Signed-off-by: zhaoxiao
---
drivers/gpu/drm/msm/adreno/adreno_gpu.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/msm/adreno/adreno_gpu.c
b/drivers/gpu/drm/msm/adreno/adreno_g
__le32 [usertype]
Signed-off-by: zhaoxiao
---
drivers/gpu/drm/radeon/r600_dma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/radeon/r600_dma.c
b/drivers/gpu/drm/radeon/r600_dma.c
index fb65e6fb5c4f..a2d0b1edcd22 100644
--- a/drivers/gpu/drm/radeon
Thanks for you advice, and I modify the patch according to your suggestions.
在 2021/8/10 下午5:59, Daniel Vetter 写道:
On Fri, Aug 06, 2021 at 10:30:47AM +0800, zhaoxiao wrote:
Address the following checkpatch errors:
ERROR: do not initialise statics to false
FILE: :drivers/gpu/drm/msm/msm_drv.c
Address the following checkpatch errors:
ERROR: do not initialise statics to false
FILE: :drivers/gpu/drm/msm/msm_drv.c:21:
-static bool reglog = false;
FILE: :drivers/gpu/drm/msm/msm_drv.c:31:
-bool dumpstate = false;
Signed-off-by: zhaoxiao
---
v3: Subject should start out with drm/msm, not
The variable backlight is being initialized with a value that
is never read, it is being re-assigned immediately afterwards.
Clean up the code by removing the need for variable backlight.
Signed-off-by: zhaoxiao
---
drivers/gpu/drm/amd/display/dc/dce/dce_abm.c | 6 ++
1 file changed, 2
Address the following checkpatch errors:
ERROR: do not initialise statics to false
FILE: :drivers/gpu/drm/msm/msm_drv.c:21:
-static bool reglog = false;
FILE: :drivers/gpu/drm/msm/msm_drv.c:31:
-bool dumpstate = false;
Signed-off-by: zhaoxiao
---
v2: change the patch description
drivers/gpu
ERROR: do not initialise statics to false
Signed-off-by: zhaoxiao
---
drivers/gpu/drm/msm/msm_drv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c
index 9b8fa2ad0d84..d9ca4bc9620b 100644
--- a/drivers/gpu/drm
ERROR: do not initialise statics to false
FILE: :drivers/gpu/drm/msm/msm_drv.c:21:
static bool reglog = false;
FILE: :drivers/gpu/drm/msm/msm_drv.c:31:
-bool dumpstate = false;
Signed-off-by: zhaoxiao
---
v2: add the more detailed patch description
drivers/gpu/drm/msm/msm_drv.c | 4 ++--
1
ERROR: do not initialise statics to false
Signed-off-by: zhaoxiao
---
drivers/gpu/drm/msm/msm_drv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c
index 9b8fa2ad0d84..d9ca4bc9620b 100644
--- a/drivers/gpu/drm
/drm/nouveau/nouveau_bo.c: In function ‘nouveau_ttm_tt_unpopulate’:
drivers/gpu/drm/nouveau/nouveau_bo.c:1268:17: warning: variable ‘dev’ set but
not used [-Wunused-but-set-variable]
struct device *dev;
^~~
Signed-off-by: zhaoxiao
---
drivers/gpu/drm/nouveau/nouveau_bo.c | 5
this function, so we should
mark it as static.
Signed-off-by: zhaoxiao
---
drivers/gpu/drm/nouveau/dispnv50/headc57d.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/dispnv50/headc57d.c
b/drivers/gpu/drm/nouveau/dispnv50/headc57d.c
index fd51527b56b8
/drm/nouveau/nouveau_bo.c: In function ‘nouveau_ttm_tt_unpopulate’:
drivers/gpu/drm/nouveau/nouveau_bo.c:1268:17: warning: variable ‘dev’ set but
not used [-Wunused-but-set-variable]
struct device *dev;
^~~
Signed-off-by: zhaoxiao
---
drivers/gpu/drm/nouveau/nouveau_bo.c | 5
this function, so we should
mark it as static.
Signed-off-by: zhaoxiao
---
drivers/gpu/drm/nouveau/dispnv50/headc57d.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/dispnv50/headc57d.c
b/drivers/gpu/drm/nouveau/dispnv50/headc57d.c
index fd51527b56b8
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/i915/display/intel_display_power.c:2300: warning: expecting
prototype for intel_display_power_put_async(). Prototype was for
__intel_display_power_put_async() instead
Signed-off-by: zhaoxiao
---
drivers/gpu/drm/i915/display
intel_engines_cleanup_common(). Prototype was for intel_engine_cleanup_common()
instead
Signed-off-by: zhaoxiao
---
drivers/gpu/drm/i915/gt/intel_engine_cs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/i915/gt/intel_engine_cs.c
b/drivers/gpu/drm/i915/gt
19 matches
Mail list logo