[Nouveau] [PATCH] drm/nouveau: ERROR: (foo*) should be (foo *)

sunran001 at 208suo.com sunran001 at 208suo.com
Tue Jul 11 06:12:55 UTC 2023


Fix two occurrences of the checkpatch.pl error:

ERROR: (foo*) should be (foo *)

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

diff --git a/drivers/gpu/drm/nouveau/nouveau_fence.c 
b/drivers/gpu/drm/nouveau/nouveau_fence.c
index ee5e9d40c166..287885a3a37e 100644
--- a/drivers/gpu/drm/nouveau/nouveau_fence.c
+++ b/drivers/gpu/drm/nouveau/nouveau_fence.c
@@ -169,7 +169,7 @@ nouveau_fence_wait_uevent_handler(struct nvif_event 
*event, void *repv, u32 repc
  void
  nouveau_fence_context_new(struct nouveau_channel *chan, struct 
nouveau_fence_chan *fctx)
  {
-    struct nouveau_fence_priv *priv = (void*)chan->drm->fence;
+    struct nouveau_fence_priv *priv = (void *)chan->drm->fence;
      struct nouveau_cli *cli = (void *)chan->user.client;
      struct {
          struct nvif_event_v0 base;
@@ -207,7 +207,7 @@ int
  nouveau_fence_emit(struct nouveau_fence *fence, struct nouveau_channel 
*chan)
  {
      struct nouveau_fence_chan *fctx = chan->fence;
-    struct nouveau_fence_priv *priv = (void*)chan->drm->fence;
+    struct nouveau_fence_priv *priv = (void *)chan->drm->fence;
      int ret;

      fence->channel  = chan;


More information about the Nouveau mailing list