mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] fs: squashfs: use correct format specifier
@ 2016-06-03 13:26 Lucas Stach
  2016-06-07  6:10 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Stach @ 2016-06-03 13:26 UTC (permalink / raw)
  To: barebox

Fixes:
fs/squashfs/inode.c: warning: format '%d' expects argument
of type 'int', but argument 3 has type 'long long int'

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 fs/squashfs/inode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/squashfs/inode.c b/fs/squashfs/inode.c
index 749fc7ef9538..923c397fa89f 100644
--- a/fs/squashfs/inode.c
+++ b/fs/squashfs/inode.c
@@ -126,7 +126,7 @@ int squashfs_read_inode(struct inode *inode, long long ino)
 	struct squashfs_base_inode *sqshb_ino = &squashfs_ino.base;
 	int xattr_id = SQUASHFS_INVALID_XATTR;
 
-	TRACE("Entered squashfs_read_inode: %d\n", ino);
+	TRACE("Entered squashfs_read_inode: %lld\n", ino);
 
 	/*
 	 * Read inode base common to all inode types.
-- 
2.8.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] fs: squashfs: use correct format specifier
  2016-06-03 13:26 [PATCH] fs: squashfs: use correct format specifier Lucas Stach
@ 2016-06-07  6:10 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2016-06-07  6:10 UTC (permalink / raw)
  To: Lucas Stach; +Cc: barebox

On Fri, Jun 03, 2016 at 03:26:09PM +0200, Lucas Stach wrote:
> Fixes:
> fs/squashfs/inode.c: warning: format '%d' expects argument
> of type 'int', but argument 3 has type 'long long int'
> 
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>

Applied, thanks

Sascha

> ---
>  fs/squashfs/inode.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/squashfs/inode.c b/fs/squashfs/inode.c
> index 749fc7ef9538..923c397fa89f 100644
> --- a/fs/squashfs/inode.c
> +++ b/fs/squashfs/inode.c
> @@ -126,7 +126,7 @@ int squashfs_read_inode(struct inode *inode, long long ino)
>  	struct squashfs_base_inode *sqshb_ino = &squashfs_ino.base;
>  	int xattr_id = SQUASHFS_INVALID_XATTR;
>  
> -	TRACE("Entered squashfs_read_inode: %d\n", ino);
> +	TRACE("Entered squashfs_read_inode: %lld\n", ino);
>  
>  	/*
>  	 * Read inode base common to all inode types.
> -- 
> 2.8.1
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-07  6:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-03 13:26 [PATCH] fs: squashfs: use correct format specifier Lucas Stach
2016-06-07  6:10 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox