diff options
author | 2023-01-15 12:47:11 +0530 | |
---|---|---|
committer | 2023-01-17 16:11:51 -0500 | |
commit | d3d3b8945128e8522e5ece44524e88e870b22f79 (patch) | |
tree | 110571472cf8ed3498acbb5a290c858e5da98b05 /lib/pm-notifier-error-inject.c | |
parent | drm/amd/pm/powerplay/smumgr: use bitwise or for addition (diff) | |
download | linux-rng-d3d3b8945128e8522e5ece44524e88e870b22f79.tar.xz linux-rng-d3d3b8945128e8522e5ece44524e88e870b22f79.zip |
drm/amd/pm/powerplay/hwmgr: use bitwise or for bitmasks addition
For bit mask addition, it is recommended to use or operator "|" instead
of numerical addition as the former is quicker and cleaner. Change
suggested by orplus.cocci Coccinelle semantic patch.
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Deepak R Varma <drv@mailo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions