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

Commit c8c94b11 authored by Zach Brown's avatar Zach Brown Committed by Linus Torvalds
Browse files

[PATCH] pr_debug: trident: use size_t length modifier in pr_debug format arguments



trident: use size_t length modifier in pr_debug format arguments

Signed-off-by: default avatarZach Brown <zach.brown@oracle.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 8057de64
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1862,7 +1862,7 @@ trident_read(struct file *file, char __user *buffer, size_t count, loff_t * ppos
	unsigned swptr;
	int cnt;

	pr_debug("trident: trident_read called, count = %d\n", count);
	pr_debug("trident: trident_read called, count = %zd\n", count);

	VALIDATE_STATE(state);

@@ -1978,7 +1978,7 @@ trident_write(struct file *file, const char __user *buffer, size_t count, loff_t
	unsigned int copy_count;
	int lret; /* for lock_set_fmt */

	pr_debug("trident: trident_write called, count = %d\n", count);
	pr_debug("trident: trident_write called, count = %zd\n", count);

	VALIDATE_STATE(state);