mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 4/19] kconfig: fix typo in change count initialization
@ 2006-04-09 15:27 Roman Zippel
  2006-04-09 21:27 ` Sam Ravnborg
  0 siblings, 1 reply; 3+ messages in thread
From: Roman Zippel @ 2006-04-09 15:27 UTC (permalink / raw)
  To: linux-kernel, Andrew Morton


Signed-off-by: Roman Zippel <zippel@linux-m68k.org>

---

 scripts/kconfig/confdata.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6-git/scripts/kconfig/confdata.c
===================================================================
--- linux-2.6-git.orig/scripts/kconfig/confdata.c
+++ linux-2.6-git/scripts/kconfig/confdata.c
@@ -325,7 +325,7 @@ int conf_read(const char *name)
 				sym->flags |= e->right.sym->flags & SYMBOL_NEW;
 	}
 
-	sym_change_count = conf_warnings && conf_unsaved;
+	sym_change_count = conf_warnings || conf_unsaved;
 
 	return 0;
 }

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

* Re: [PATCH 4/19] kconfig: fix typo in change count initialization
  2006-04-09 15:27 [PATCH 4/19] kconfig: fix typo in change count initialization Roman Zippel
@ 2006-04-09 21:27 ` Sam Ravnborg
  2006-04-09 21:47   ` Roman Zippel
  0 siblings, 1 reply; 3+ messages in thread
From: Sam Ravnborg @ 2006-04-09 21:27 UTC (permalink / raw)
  To: Roman Zippel; +Cc: linux-kernel, Andrew Morton

On Sun, Apr 09, 2006 at 05:27:28PM +0200, Roman Zippel wrote:
> 
> Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
> 
> ---
> 
>  scripts/kconfig/confdata.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Index: linux-2.6-git/scripts/kconfig/confdata.c
> ===================================================================
> --- linux-2.6-git.orig/scripts/kconfig/confdata.c
> +++ linux-2.6-git/scripts/kconfig/confdata.c
> @@ -325,7 +325,7 @@ int conf_read(const char *name)
>  				sym->flags |= e->right.sym->flags & SYMBOL_NEW;
>  	}
>  
> -	sym_change_count = conf_warnings && conf_unsaved;
> +	sym_change_count = conf_warnings || conf_unsaved;
>  
>  	return 0;
>  }

Please explain what this actually fixes.
I recall we have touched this area before but I do not recall the
details.

	Sam

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

* Re: [PATCH 4/19] kconfig: fix typo in change count initialization
  2006-04-09 21:27 ` Sam Ravnborg
@ 2006-04-09 21:47   ` Roman Zippel
  0 siblings, 0 replies; 3+ messages in thread
From: Roman Zippel @ 2006-04-09 21:47 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: linux-kernel, Andrew Morton

Hi,

On Sun, 9 Apr 2006, Sam Ravnborg wrote:

> > @@ -325,7 +325,7 @@ int conf_read(const char *name)
> >  				sym->flags |= e->right.sym->flags & SYMBOL_NEW;
> >  	}
> >  
> > -	sym_change_count = conf_warnings && conf_unsaved;
> > +	sym_change_count = conf_warnings || conf_unsaved;
> >  
> >  	return 0;
> >  }
> 
> Please explain what this actually fixes.

Configuration needs saving when either of these conditions is true.

bye, Roman

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

end of thread, other threads:[~2006-04-09 21:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-09 15:27 [PATCH 4/19] kconfig: fix typo in change count initialization Roman Zippel
2006-04-09 21:27 ` Sam Ravnborg
2006-04-09 21:47   ` Roman Zippel

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

all inboxes | Powered by JetHome®