Re: [PATCH] floppy: make local variable non-static

From: Jiri Kosina
Date: Tue Dec 08 2015 - 09:16:16 EST


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@xxxxxxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/