✗ CI.checkpatch: warning for Add HWMON support for BMG
Patchwork
patchwork at emeril.freedesktop.org
Thu May 23 14:48:13 UTC 2024
== Series Details ==
Series: Add HWMON support for BMG
URL : https://patchwork.freedesktop.org/series/133970/
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
51ce9f6cd981d42d7467409d7dbc559a450abc1e
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit 3b1ed72a36ad5cd6b8a88f270d1ad8b39e28ea7f
Author: Karthik Poosa <karthik.poosa at intel.com>
Date: Thu May 23 20:13:51 2024 +0530
drm/xe/hwmon: Expose card power and energy attributes of BMG
In BMG there are separate registers for card/platform power and
energy.
These are exposed through channel 0 i.e power_1/energy1_xxx.
Signed-off-by: Karthik Poosa <karthik.poosa at intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
Signed-off-by: Balasubramani Vivekanandan <balasubramani.vivekanandan at intel.com>
+ /mt/dim checkpatch 8e768c3e813ab5519a85997b622edc9a2f79c083 drm-intel
a1ed8e8964c2 drm/xe/hwmon: Add HWMON support for BMG
3b1ed72a36ad drm/xe/hwmon: Expose card power and energy attributes of BMG
-:38: WARNING:BRACES: braces {} are not necessary for any arm of this statement
#38: FILE: drivers/gpu/drm/xe/xe_hwmon.c:90:
+ if (channel == CHANNEL_PKG) {
[...]
+ } else {
[...]
-:60: WARNING:BRACES: braces {} are not necessary for any arm of this statement
#60: FILE: drivers/gpu/drm/xe/xe_hwmon.c:123:
+ if (channel == CHANNEL_PKG) {
[...]
+ } else {
[...]
total: 0 errors, 2 warnings, 0 checks, 49 lines checked
More information about the Intel-xe
mailing list