Skip to content

Commit 478c6ac

Browse files
neobuddy89DhineshCool
authored andcommitted
treewide: Fix clang-17 errors
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
1 parent bc5a530 commit 478c6ac

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

drivers/input/misc/qti-haptics.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -321,9 +321,9 @@ static int qti_haptics_write(struct qti_hap_chip *chip,
321321
rc = regmap_write(chip->regmap,
322322
chip->reg_base + addr, *val);
323323

324-
if (rc < 0)
325-
dev_err(chip->dev, "write addr 0x%x failed, rc=%d\n",
326-
addr, rc);
324+
if (rc < 0)
325+
dev_err(chip->dev, "write addr 0x%x failed, rc=%d\n",
326+
addr, rc);
327327
}
328328

329329
for (i = 0; i < len; i++)

drivers/media/platform/msm/camera/cam_utils/cam_packet_util.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -454,9 +454,9 @@ int32_t cam_packet_validate_plane_size(
454454
kmd_plane_size = plane_stride * slice_height;
455455
break;
456456
case CAM_FORMAT_PD10:
457-
if (plane_index < CAM_PACKET_MAX_PLANES)
458-
kmd_plane_size = plane_stride * slice_height;
459-
break;
457+
if (plane_index < CAM_PACKET_MAX_PLANES)
458+
kmd_plane_size = plane_stride * slice_height;
459+
break;
460460
case CAM_FORMAT_UBWC_NV12:
461461
case CAM_FORMAT_UBWC_NV12_4R:
462462
case CAM_FORMAT_UBWC_TP10:

0 commit comments

Comments
 (0)