Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 59bdc4be authored by Inaky Perez-Gonzalez's avatar Inaky Perez-Gonzalez
Browse files

wimax/i2400m: workaround not-so-working %zd printf format



The kernel's %zd modifier does not really work. Use %ld (has to cast
ssize_t to long).

Signed-off-by: default avatarInaky Perez-Gonzalez <inaky@linux.intel.com>
parent 4c2b1a11
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -330,8 +330,8 @@ ssize_t i2400mu_bus_bm_wait_for_ack(struct i2400m *i2400m,
out:
	if (do_autopm)
		usb_autopm_put_interface(i2400mu->usb_iface);
	d_fnend(8, dev, "(i2400m %p ack %p size %zu) = %zd\n",
		i2400m, ack, ack_size, result);
	d_fnend(8, dev, "(i2400m %p ack %p size %zu) = %ld\n",
		i2400m, ack, ack_size, (long) result);
	return result;

error_exceeded: