Re: [PATCH 1/1] gru: fix %d confusingly prefixed with 0x in format string

From: Dimitri Sivanich
Date: Tue Aug 05 2014 - 08:23:36 EST


Acked-by: Dimitri Sivanich <sivanich@xxxxxxx>

On Mon, Aug 04, 2014 at 05:58:05PM -0700, Hans Wennborg wrote:
> Signed-off-by: Hans Wennborg <hans@xxxxxxxxxx>
> ---
> drivers/misc/sgi-gru/grumain.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/misc/sgi-gru/grumain.c b/drivers/misc/sgi-gru/grumain.c
> index ae16c8c..161a940 100644
> --- a/drivers/misc/sgi-gru/grumain.c
> +++ b/drivers/misc/sgi-gru/grumain.c
> @@ -283,7 +283,7 @@ static void gru_unload_mm_tracker(struct gru_state *gru,
> spin_lock(&gru->gs_asid_lock);
> BUG_ON((asids->mt_ctxbitmap & ctxbitmap) != ctxbitmap);
> asids->mt_ctxbitmap ^= ctxbitmap;
> - gru_dbg(grudev, "gid %d, gts %p, gms %p, ctxnum 0x%d, asidmap 0x%lx\n",
> + gru_dbg(grudev, "gid %d, gts %p, gms %p, ctxnum %d, asidmap 0x%lx\n",
> gru->gs_gid, gts, gms, gts->ts_ctxnum, gms->ms_asidmap[0]);
> spin_unlock(&gru->gs_asid_lock);
> spin_unlock(&gms->ms_asid_lock);
> --
> 2.0.0.526.g5318336
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/