✓ CI.checkpatch: success for drm/xe/vm: Simplify if condition
Patchwork
patchwork at emeril.freedesktop.org
Wed Jun 5 01:54:36 UTC 2024
== Series Details ==
Series: drm/xe/vm: Simplify if condition
URL : https://patchwork.freedesktop.org/series/134444/
State : success
== 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
51ce9f6cd981d42d7467409d7dbc559a450abc1e
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 50c399b1814a306f06563979e3a6091fcb9c0606
Author: Thorsten Blum <thorsten.blum at toblux.com>
Date: Mon Jun 3 20:00:07 2024 +0200
drm/xe/vm: Simplify if condition
The if condition !A || A && B can be simplified to !A || B.
Fixes the following Coccinelle/coccicheck warning reported by
excluded_middle.cocci:
WARNING !A || A && B is equivalent to !A || B
Compile-tested only.
Signed-off-by: Thorsten Blum <thorsten.blum at toblux.com>
Reviewed-by: Matthew Brost <matthew.brost at intel.com>
+ /mt/dim checkpatch 596cf447db94909c4788fd612876520531e439b0 drm-intel
50c399b1814a drm/xe/vm: Simplify if condition
More information about the Intel-xe
mailing list