lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNARFntzRDbqK=-hnbW7LkCtqgFN7804d=PsRxkFS4tjdyA@mail.gmail.com>
Date:   Mon, 13 May 2019 11:31:06 +0900
From:   Masahiro Yamada <yamada.masahiro@...ionext.com>
To:     Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>
Cc:     Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] kconfig: remove useless pointer check in conf_write_dep()

On Sat, May 11, 2019 at 1:56 AM Masahiro Yamada
<yamada.masahiro@...ionext.com> wrote:
>
> conf_write_dep() has just one caller:
>
>     conf_write_dep("include/config/auto.conf.cmd");
>
> "name" always points to a valid string.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@...ionext.com>
> ---

Applied to linux-kbuild.


>  scripts/kconfig/confdata.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/scripts/kconfig/confdata.c b/scripts/kconfig/confdata.c
> index 399973e..431b805 100644
> --- a/scripts/kconfig/confdata.c
> +++ b/scripts/kconfig/confdata.c
> @@ -961,8 +961,6 @@ static int conf_write_dep(const char *name)
>         struct file *file;
>         FILE *out;
>
> -       if (!name)
> -               name = ".kconfig.d";
>         out = fopen("..config.tmp", "w");
>         if (!out)
>                 return 1;
> --
> 2.7.4
>


-- 
Best Regards
Masahiro Yamada

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ