✗ CI.checkpatch: warning for drm/xe/query: Refactor copy_to_user() usage in four functions

Patchwork patchwork at emeril.freedesktop.org
Wed Sep 25 19:28:55 UTC 2024


== Series Details ==

Series: drm/xe/query: Refactor copy_to_user() usage in four functions
URL   : https://patchwork.freedesktop.org/series/138994/
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
30ab6715fc09baee6cc14cb3c89ad8858688d474
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 26ef5c27ca83e3ed4ffdd2e1980455a3b158bfab
Author: Markus Elfring <elfring at users.sourceforge.net>
Date:   Wed Sep 18 09:43:07 2024 +0200

    drm/xe/query: Refactor copy_to_user() usage in four functions
    
    Assign return values from copy_to_user() calls to additional local variables
    so that four kfree() calls and return statements can be omitted accordingly.
    
    This issue was transformed by using the Coccinelle software.
    
    Signed-off-by: Markus Elfring <elfring at users.sourceforge.net>
+ /mt/dim checkpatch 88d592f72f7bc508d6a027b1f96aa2e53f803e1b drm-intel
26ef5c27ca83 drm/xe/query: Refactor copy_to_user() usage in four functions
-:6: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#6: 
Assign return values from copy_to_user() calls to additional local variables

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




More information about the Intel-xe mailing list