Re: [PATCH 4/19] kconfig: fix typo in change count initialization

From: Sam Ravnborg
Date: Sun Apr 09 2006 - 17:27:19 EST


On Sun, Apr 09, 2006 at 05:27:28PM +0200, Roman Zippel wrote:
>
> Signed-off-by: Roman Zippel <zippel@xxxxxxxxxxxxxx>
>
> ---
>
> 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
-
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/