mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm/nouveau/pmu: add spaces around '='
       [not found] <20230711013754.77743-1-xujianghui@cdjrlc.com>
@ 2023-07-11  1:42 ` sunran001
  0 siblings, 0 replies; only message in thread
From: sunran001 @ 2023-07-11  1:42 UTC (permalink / raw)
  To: airlied, daniel; +Cc: dri-devel, nouveau, linux-kernel

This fixes the checkpatch.pl errors:

ERROR: spaces required around that '=' (ctx:VxW)

Signed-off-by: Ran Sun <sunran001@208suo.com>
---
  drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c 
b/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c
index b5e52b35f5d0..d3e67c41560d 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/gk20a.c
@@ -98,7 +98,7 @@ gk20a_pmu_dvfs_get_dev_status(struct gk20a_pmu *pmu,
      struct nvkm_falcon *falcon = &pmu->base.falcon;

      status->busy = nvkm_falcon_rd32(falcon, 0x508 + (BUSY_SLOT * 
0x10));
-    status->total= nvkm_falcon_rd32(falcon, 0x508 + (CLK_SLOT * 0x10));
+    status->total = nvkm_falcon_rd32(falcon, 0x508 + (CLK_SLOT * 
0x10));
  }

  static void
@@ -188,7 +188,7 @@ gk20a_pmu_init(struct nvkm_pmu *pmu)
  }

  static struct gk20a_pmu_dvfs_data
-gk20a_dvfs_data= {
+gk20a_dvfs_data = {
      .p_load_target = 70,
      .p_load_max = 90,
      .p_smooth = 1,

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-11  1:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20230711013754.77743-1-xujianghui@cdjrlc.com>
2023-07-11  1:42 ` [PATCH] drm/nouveau/pmu: add spaces around '=' sunran001

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®