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

Commit e6aeb47d authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[ARM] ecard: silence new warning caused by previous commit



PTR_ERR()'s type is unsigned long, so formats when printing
must be %ld, not %d.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 134c99e9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1063,7 +1063,7 @@ static int __init ecard_init(void)

	task = kthread_run(ecard_task, NULL, "kecardd");
	if (IS_ERR(task)) {
		printk(KERN_ERR "Ecard: unable to create kernel thread: %d\n",
		printk(KERN_ERR "Ecard: unable to create kernel thread: %ld\n",
		       PTR_ERR(task));
		return PTR_ERR(task);
	}