lkml.org 
[lkml]   [2011]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] [RFC] ubi: Make vid_hdr non-static
From
Date
On Thu, 2011-12-22 at 16:12 +0100, Richard Weinberger wrote:
> There is no reason to have vid_hdr static.
>
> Signed-off-by: Richard Weinberger <rw@linutronix.de>
> ---
> drivers/mtd/ubi/vtbl.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/mtd/ubi/vtbl.c b/drivers/mtd/ubi/vtbl.c
> index 9ad18da..890754c 100644
> --- a/drivers/mtd/ubi/vtbl.c
> +++ b/drivers/mtd/ubi/vtbl.c
> @@ -306,7 +306,7 @@ static int create_vtbl(struct ubi_device *ubi, struct ubi_scan_info *si,
> int copy, void *vtbl)
> {
> int err, tries = 0;
> - static struct ubi_vid_hdr *vid_hdr;
> + struct ubi_vid_hdr *vid_hdr;
> struct ubi_scan_leb *new_seb;

Hmm, this shouldn't be [RFC] - this a bugfix, I'll merge it, thanks!

--
Best Regards,
Artem Bityutskiy
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2011-12-22 17:07    [W:0.457 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site