diff mbox series

streamline_config.pl: show the full Kconfig name

Message ID 20211125162055.3583991-1-l.stelmach@samsung.com (mailing list archive)
State New, archived
Headers show
Series streamline_config.pl: show the full Kconfig name | expand

Commit Message

Lukasz Stelmach Nov. 25, 2021, 4:20 p.m. UTC
Show the very same file name that was passed to open()
in case the operation failed.

Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
---
 scripts/kconfig/streamline_config.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Masahiro Yamada Nov. 26, 2021, 8:04 a.m. UTC | #1
On Fri, Nov 26, 2021 at 1:21 AM Łukasz Stelmach <l.stelmach@samsung.com> wrote:
>
> Show the very same file name that was passed to open()
> in case the operation failed.
>
> Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
> ---

Applied to linux-kbuild. Thanks.


>  scripts/kconfig/streamline_config.pl | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl
> index 1a5fea0519eb..3387ad7508f7 100755
> --- a/scripts/kconfig/streamline_config.pl
> +++ b/scripts/kconfig/streamline_config.pl
> @@ -170,7 +170,7 @@ sub read_kconfig {
>         $source =~ s/\$\($env\)/$ENV{$env}/;
>      }
>
> -    open(my $kinfile, '<', $source) || die "Can't open $kconfig";
> +    open(my $kinfile, '<', $source) || die "Can't open $source";
>      while (<$kinfile>) {
>         chomp;
>
> --
> 2.30.2
>
diff mbox series

Patch

diff --git a/scripts/kconfig/streamline_config.pl b/scripts/kconfig/streamline_config.pl
index 1a5fea0519eb..3387ad7508f7 100755
--- a/scripts/kconfig/streamline_config.pl
+++ b/scripts/kconfig/streamline_config.pl
@@ -170,7 +170,7 @@  sub read_kconfig {
 	$source =~ s/\$\($env\)/$ENV{$env}/;
     }
 
-    open(my $kinfile, '<', $source) || die "Can't open $kconfig";
+    open(my $kinfile, '<', $source) || die "Can't open $source";
     while (<$kinfile>) {
 	chomp;