Skip to content

Commit cb21746

Browse files
Sakari Ailusrafaeljw
authored andcommitted
ACPI: scan: Fix an error message in DisCo for Imaging support
The recently merged DisCo for Imaging support used a wrong printk specifier in printing a message. Fix it by using %zu instead of %lu. Also use "bits" instead of "bytes" as these are indeed bytes. Fixes: a6cb0a6 ("ACPI: scan: Extract MIPI DisCo for Imaging data into swnodes") Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 4cd57d6 commit cb21746

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/acpi/mipi-disco-img.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ static void init_csi2_port(struct acpi_device *adev,
533533
if (ret < 0) {
534534
acpi_handle_debug(handle, "Lane polarity bytes missing\n");
535535
} else if (ret * BITS_PER_TYPE(u8) < num_lanes + 1) {
536-
acpi_handle_info(handle, "Too few lane polarity bytes (%lu vs. %d)\n",
536+
acpi_handle_info(handle, "Too few lane polarity bits (%zu vs. %d)\n",
537537
ret * BITS_PER_TYPE(u8), num_lanes + 1);
538538
} else {
539539
unsigned long mask = 0;

0 commit comments

Comments
 (0)