mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
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: a6cb0a6112
("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>
This commit is contained in:
parent
4cd57d6d52
commit
cb21746b17
@ -533,7 +533,7 @@ static void init_csi2_port(struct acpi_device *adev,
|
||||
if (ret < 0) {
|
||||
acpi_handle_debug(handle, "Lane polarity bytes missing\n");
|
||||
} else if (ret * BITS_PER_TYPE(u8) < num_lanes + 1) {
|
||||
acpi_handle_info(handle, "Too few lane polarity bytes (%lu vs. %d)\n",
|
||||
acpi_handle_info(handle, "Too few lane polarity bits (%zu vs. %d)\n",
|
||||
ret * BITS_PER_TYPE(u8), num_lanes + 1);
|
||||
} else {
|
||||
unsigned long mask = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user