Skip to contentSkip to conversation

drm/nouveau/i2c: do not use assignment in if condition

PATCH New [email protected] 1 participant 1 message Jul 10, 2023 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 drm/nouveau/i2c: do not use assignment in if condition

Assignments in if condition are less readable and error-prone. Fixes also checkpatch warning:

ERROR: do not use assignment in if condition

---
 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/pad.c | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 mode change 100755 => 100644 

drivers/gpu/drm/nouveau/nvkm/subdev/i2c/pad.c

drivers/gpu/drm/nouveau/nvkm/subdev/i2c/pad.c +0 -0
old mode 100755
new mode 100644