LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] streamline_config.pl: show the full Kconfig name
       [not found] <CGME20211125162141eucas1p288a33941afc09ce74bd59368495c8581@eucas1p2.samsung.com>
@ 2021-11-25 16:20 ` Łukasz Stelmach
  2021-11-26  8:04   ` Masahiro Yamada
  0 siblings, 1 reply; 2+ messages in thread
From: Łukasz Stelmach @ 2021-11-25 16:20 UTC (permalink / raw)
  To: Masahiro Yamada
  Cc: Marek Szyprowski, Łukasz Stelmach, linux-kbuild, linux-kernel

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(-)

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


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

* Re: [PATCH] streamline_config.pl: show the full Kconfig name
  2021-11-25 16:20 ` [PATCH] streamline_config.pl: show the full Kconfig name Łukasz Stelmach
@ 2021-11-26  8:04   ` Masahiro Yamada
  0 siblings, 0 replies; 2+ messages in thread
From: Masahiro Yamada @ 2021-11-26  8:04 UTC (permalink / raw)
  To: Łukasz Stelmach
  Cc: Marek Szyprowski, Linux Kbuild mailing list, Linux Kernel Mailing List

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
>


-- 
Best Regards
Masahiro Yamada

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

end of thread, other threads:[~2021-11-26  8:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20211125162141eucas1p288a33941afc09ce74bd59368495c8581@eucas1p2.samsung.com>
2021-11-25 16:20 ` [PATCH] streamline_config.pl: show the full Kconfig name Łukasz Stelmach
2021-11-26  8:04   ` Masahiro Yamada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).