[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LNX.2.00.1512081515330.9922@cbobk.fhfr.pm>
Date: Tue, 8 Dec 2015 15:16:05 +0100 (CET)
From: Jiri Kosina <jikos@...nel.org>
To: Rasmus Villemoes <linux@...musvillemoes.dk>
cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH] floppy: make local variable non-static
On Tue, 1 Dec 2015, Rasmus Villemoes wrote:
> There's no reason for temparea to be static, since it's only used for
> temporary sprintf output. It's not immediately obvious that the output
> will always fit (in the worst case, the output including '\0' is
> exactly 32 bytes), so save a future reader from worrying about that.
>
> Signed-off-by: Rasmus Villemoes <linux@...musvillemoes.dk>
Applied, thanks.
(I have applied this to trivial.git, as was too lazy to revive floppy tree
just for this :) ).
--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists