✗ CI.checkpatch: warning for linux-next: build failure after merge of the kspp tree

Patchwork patchwork at emeril.freedesktop.org
Mon Sep 9 10:05:22 UTC 2024


== Series Details ==

Series: linux-next: build failure after merge of the kspp tree
URL   : https://patchwork.freedesktop.org/series/138397/
State : warning

== Summary ==

+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt
Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master
c62d7e164862503a3662a095da1c6c9014248cb2
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 5da43ee5f5eb6adb37b1999e068bea3fe1f5ccfa
Author: Stephen Rothwell <sfr at canb.auug.org.au>
Date:   Mon Sep 9 19:59:39 2024 +1000

    linux-next: build failure after merge of the kspp tree
    
    Hi all,
    
    After merging the kspp tree, today's linux-next build (x86_64
    allmodconfig) failed like this:
    
    drivers/gpu/drm/xe/xe_gt_idle.c:56:27: error: redefinition of 'str_up_down'
       56 | static inline const char *str_up_down(bool v)
          |                           ^~~~~~~~~~~
    In file included from include/linux/string_helpers.h:7,
                     from drivers/gpu/drm/xe/xe_assert.h:9,
                     from drivers/gpu/drm/xe/xe_force_wake.h:9,
                     from drivers/gpu/drm/xe/xe_gt_idle.c:8:
    include/linux/string_choices.h:62:27: note: previous definition of 'str_up_down' with type 'const char *(bool)' {aka 'const char *(_Bool)'}
       62 | static inline const char *str_up_down(bool v)
          |                           ^~~~~~~~~~~
    
    Caused by commit
    
      a98ae7f045b2 ("lib/string_choices: Add str_up_down() helper")
    
    interacting with commit
    
      0914c1e45d3a ("drm/xe/xe_gt_idle: add debugfs entry for powergating info")
    
    from the drm-xe tree.
    
    I have applied the following patch for today.
    
    From: Stephen Rothwell <sfr at canb.auug.org.au>
    Date: Mon, 9 Sep 2024 19:40:17 +1000
    Subject: [PATCH] fix up for "lib/string_choices: Add str_up_down() helper"
    
    interacting wit commit "drm/xe/xe_gt_idle: add debugfs entry for
    powergating info" from the drm-xe tree.
    
    Signed-off-by: Stephen Rothwell <sfr at canb.auug.org.au>
+ /mt/dim checkpatch 62212ed3e75612eb3e50899f90c81922a0a76220 drm-intel
5da43ee5f5eb linux-next: build failure after merge of the kspp tree
-:28: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#28: 
  0914c1e45d3a ("drm/xe/xe_gt_idle: add debugfs entry for powergating info")

-:28: ERROR:GIT_COMMIT_ID: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 0914c1e45d3a ("drm/xe/xe_gt_idle: add debugfs entry for powergating info")'
#28: 
  0914c1e45d3a ("drm/xe/xe_gt_idle: add debugfs entry for powergating info")

total: 1 errors, 1 warnings, 0 checks, 11 lines checked




More information about the Intel-xe mailing list