2023-03-22 09:02:35

by Mirsad Todorovac

[permalink] [raw]
Subject: [PATCH v1 1/1] scripts: merge_config: Fix typo in variable name.

${WARNOVERRIDE} was misspelled as ${WARNOVVERIDE}, which caused a shell
syntax error in certain paths of the script execution.

Cc: Mark Brown <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-of-by: Mirsad Goran Todorovac <[email protected]>
---
scripts/kconfig/merge_config.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/kconfig/merge_config.sh b/scripts/kconfig/merge_config.sh
index 32620de473ad..902eb429b9db 100755
--- a/scripts/kconfig/merge_config.sh
+++ b/scripts/kconfig/merge_config.sh
@@ -145,7 +145,7 @@ for ORIG_MERGE_FILE in $MERGE_LIST ; do
NEW_VAL=$(grep -w $CFG $MERGE_FILE)
BUILTIN_FLAG=false
if [ "$BUILTIN" = "true" ] && [ "${NEW_VAL#CONFIG_*=}" = "m" ] && [ "${PREV_VAL#CONFIG_*=}" = "y" ]; then
- ${WARNOVVERIDE} Previous value: $PREV_VAL
+ ${WARNOVERRIDE} Previous value: $PREV_VAL
${WARNOVERRIDE} New value: $NEW_VAL
${WARNOVERRIDE} -y passed, will not demote y to m
${WARNOVERRIDE}
--
2.30.2


2023-03-22 13:21:48

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH v1 1/1] scripts: merge_config: Fix typo in variable name.

On Wed, Mar 22, 2023 at 09:51:07AM +0100, Mirsad Goran Todorovac wrote:
> ${WARNOVERRIDE} was misspelled as ${WARNOVVERIDE}, which caused a shell
> syntax error in certain paths of the script execution.

Reviewed-by: Mark Brown <[email protected]>

Sorry about that.


Attachments:
(No filename) (275.00 B)
signature.asc (499.00 B)
Download all attachments

2023-03-22 14:33:32

by Mirsad Todorovac

[permalink] [raw]
Subject: Re: [PATCH v1 1/1] scripts: merge_config: Fix typo in variable name.

On 3/22/2023 14:18, Mark Brown wrote:
> On Wed, Mar 22, 2023 at 09:51:07AM +0100, Mirsad Goran Todorovac wrote:
>> ${WARNOVERRIDE} was misspelled as ${WARNOVVERIDE}, which caused a shell
>> syntax error in certain paths of the script execution.
>
> Reviewed-by: Mark Brown <[email protected]>
>
> Sorry about that.

You shouldn't be. Errare humanum est.

I had worse blunders in the last couple of months, i.e.
setting chattr +a on log files until /var/log filled up (old logs couldn't
have been rotated).

Best regards,
Mirsad

--
Mirsad Goran Todorovac
Sistem inženjer
Grafički fakultet | Akademija likovnih umjetnosti
Sveučilište u Zagrebu
--
System engineer
Faculty of Graphic Arts | Academy of Fine Arts
University of Zagreb, Republic of Croatia
tel. +385 (0)1 3711 451
mob. +385 91 57 88 355

2023-03-22 15:41:05

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH v1 1/1] scripts: merge_config: Fix typo in variable name.



On 3/22/23 01:51, Mirsad Goran Todorovac wrote:
> ${WARNOVERRIDE} was misspelled as ${WARNOVVERIDE}, which caused a shell
> syntax error in certain paths of the script execution.
>

Fixes: 46dff8d7e381e ("scripts: merge_config: Add option to suppress warning on overrides")

Acked-by: Randy Dunlap <[email protected]>

Thanks.

> Cc: Mark Brown <[email protected]>
> Cc: Masahiro Yamada <[email protected]>
> Cc: [email protected]
> Cc: [email protected]
> Signed-of-by: Mirsad Goran Todorovac <[email protected]>
> ---
> scripts/kconfig/merge_config.sh | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/kconfig/merge_config.sh b/scripts/kconfig/merge_config.sh
> index 32620de473ad..902eb429b9db 100755
> --- a/scripts/kconfig/merge_config.sh
> +++ b/scripts/kconfig/merge_config.sh
> @@ -145,7 +145,7 @@ for ORIG_MERGE_FILE in $MERGE_LIST ; do
> NEW_VAL=$(grep -w $CFG $MERGE_FILE)
> BUILTIN_FLAG=false
> if [ "$BUILTIN" = "true" ] && [ "${NEW_VAL#CONFIG_*=}" = "m" ] && [ "${PREV_VAL#CONFIG_*=}" = "y" ]; then
> - ${WARNOVVERIDE} Previous value: $PREV_VAL
> + ${WARNOVERRIDE} Previous value: $PREV_VAL
> ${WARNOVERRIDE} New value: $NEW_VAL
> ${WARNOVERRIDE} -y passed, will not demote y to m
> ${WARNOVERRIDE}

--
~Randy

2023-03-22 18:21:54

by Mirsad Todorovac

[permalink] [raw]
Subject: Re: [PATCH v1 1/1] scripts: merge_config: Fix typo in variable name.

On 22. 03. 2023. 16:20, Randy Dunlap wrote:
>
>
> On 3/22/23 01:51, Mirsad Goran Todorovac wrote:
>> ${WARNOVERRIDE} was misspelled as ${WARNOVVERIDE}, which caused a shell
>> syntax error in certain paths of the script execution.
>>
>
> Fixes: 46dff8d7e381e ("scripts: merge_config: Add option to suppress warning on overrides")
>
> Acked-by: Randy Dunlap <[email protected]>
>
> Thanks.

Hi, Randy,

I think this time thanks go to the Heavens, for preserving my physical integrity.

Though I don't know of a bike with ABS.

>> Cc: Mark Brown <[email protected]>
>> Cc: Masahiro Yamada <[email protected]>
>> Cc: [email protected]
>> Cc: [email protected]
>> Signed-of-by: Mirsad Goran Todorovac <[email protected]>
>> ---
>> scripts/kconfig/merge_config.sh | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/scripts/kconfig/merge_config.sh b/scripts/kconfig/merge_config.sh
>> index 32620de473ad..902eb429b9db 100755
>> --- a/scripts/kconfig/merge_config.sh
>> +++ b/scripts/kconfig/merge_config.sh
>> @@ -145,7 +145,7 @@ for ORIG_MERGE_FILE in $MERGE_LIST ; do
>> NEW_VAL=$(grep -w $CFG $MERGE_FILE)
>> BUILTIN_FLAG=false
>> if [ "$BUILTIN" = "true" ] && [ "${NEW_VAL#CONFIG_*=}" = "m" ] && [ "${PREV_VAL#CONFIG_*=}" = "y" ]; then
>> - ${WARNOVVERIDE} Previous value: $PREV_VAL
>> + ${WARNOVERRIDE} Previous value: $PREV_VAL
>> ${WARNOVERRIDE} New value: $NEW_VAL
>> ${WARNOVERRIDE} -y passed, will not demote y to m
>> ${WARNOVERRIDE}

Best regards,
Mirsad

--
Mirsad Goran Todorovac
Sistem inženjer
Grafički fakultet | Akademija likovnih umjetnosti
Sveučilište u Zagrebu

System engineer
Faculty of Graphic Arts | Academy of Fine Arts
University of Zagreb, Republic of Croatia
The European Union

2023-03-23 06:26:24

by Masahiro Yamada

[permalink] [raw]
Subject: Re: [PATCH v1 1/1] scripts: merge_config: Fix typo in variable name.

On Thu, Mar 23, 2023 at 3:15 AM Mirsad Goran Todorovac
<[email protected]> wrote:
>
> On 22. 03. 2023. 16:20, Randy Dunlap wrote:
> >
> >
> > On 3/22/23 01:51, Mirsad Goran Todorovac wrote:
> >> ${WARNOVERRIDE} was misspelled as ${WARNOVVERIDE}, which caused a shell
> >> syntax error in certain paths of the script execution.
> >>
> >
> > Fixes: 46dff8d7e381e ("scripts: merge_config: Add option to suppress warning on overrides")
> >
> > Acked-by: Randy Dunlap <[email protected]>
> >
> > Thanks.
>
> Hi, Randy,
>
> I think this time thanks go to the Heavens, for preserving my physical integrity.
>
> Though I don't know of a bike with ABS.




Applied to linux-kbuild/fixes,
fixing another typo "Signed-of-by".


You do not need to spell it out by yourself.

"git commit -s" will insert the Signed-off-by tag.







> >> Cc: Mark Brown <[email protected]>
> >> Cc: Masahiro Yamada <[email protected]>
> >> Cc: [email protected]
> >> Cc: [email protected]
> >> Signed-of-by: Mirsad Goran Todorovac <[email protected]>
> >> ---
> >> scripts/kconfig/merge_config.sh | 2 +-
> >> 1 file changed, 1 insertion(+), 1 deletion(-)
> >>
> >> diff --git a/scripts/kconfig/merge_config.sh b/scripts/kconfig/merge_config.sh
> >> index 32620de473ad..902eb429b9db 100755
> >> --- a/scripts/kconfig/merge_config.sh
> >> +++ b/scripts/kconfig/merge_config.sh
> >> @@ -145,7 +145,7 @@ for ORIG_MERGE_FILE in $MERGE_LIST ; do
> >> NEW_VAL=$(grep -w $CFG $MERGE_FILE)
> >> BUILTIN_FLAG=false
> >> if [ "$BUILTIN" = "true" ] && [ "${NEW_VAL#CONFIG_*=}" = "m" ] && [ "${PREV_VAL#CONFIG_*=}" = "y" ]; then
> >> - ${WARNOVVERIDE} Previous value: $PREV_VAL
> >> + ${WARNOVERRIDE} Previous value: $PREV_VAL
> >> ${WARNOVERRIDE} New value: $NEW_VAL
> >> ${WARNOVERRIDE} -y passed, will not demote y to m
> >> ${WARNOVERRIDE}
>
> Best regards,
> Mirsad
>
> --
> Mirsad Goran Todorovac
> Sistem inženjer
> Grafički fakultet | Akademija likovnih umjetnosti
> Sveučilište u Zagrebu
>
> System engineer
> Faculty of Graphic Arts | Academy of Fine Arts
> University of Zagreb, Republic of Croatia
> The European Union
>


--
Best Regards
Masahiro Yamada

2023-03-23 07:24:18

by Mirsad Todorovac

[permalink] [raw]
Subject: Re: [PATCH v1 1/1] scripts: merge_config: Fix typo in variable name.

On 23.3.2023. 7:24, Masahiro Yamada wrote:
> On Thu, Mar 23, 2023 at 3:15 AM Mirsad Goran Todorovac
> <[email protected]> wrote:
>>
>> On 22. 03. 2023. 16:20, Randy Dunlap wrote:
>>>
>>> On 3/22/23 01:51, Mirsad Goran Todorovac wrote:
>>>> ${WARNOVERRIDE} was misspelled as ${WARNOVVERIDE}, which caused a shell
>>>> syntax error in certain paths of the script execution.
>>>>
>>>
>>> Fixes: 46dff8d7e381e ("scripts: merge_config: Add option to suppress warning on overrides")
>>>
>>> Acked-by: Randy Dunlap <[email protected]>
>>>
>>> Thanks.
>>
>> Hi, Randy,
>>
>> I think this time thanks go to the Heavens, for preserving my physical integrity.
>>
>> Though I don't know of a bike with ABS.

> Applied to linux-kbuild/fixes,
> fixing another typo "Signed-of-by".
>
> You do not need to spell it out by yourself.
>
> "git commit -s" will insert the Signed-off-by tag.

Sorry to have wasted your time and effort. A typo fixing typo.

It is visually hard to detect once it's done. :(

I'm grateful for your quality control.

Best regards,
Mirsad

>>>> Cc: Mark Brown <[email protected]>
>>>> Cc: Masahiro Yamada <[email protected]>
>>>> Cc: [email protected]
>>>> Cc: [email protected]
>>>> Signed-of-by: Mirsad Goran Todorovac <[email protected]>
>>>> ---
>>>> scripts/kconfig/merge_config.sh | 2 +-
>>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>>
>>>> diff --git a/scripts/kconfig/merge_config.sh b/scripts/kconfig/merge_config.sh
>>>> index 32620de473ad..902eb429b9db 100755
>>>> --- a/scripts/kconfig/merge_config.sh
>>>> +++ b/scripts/kconfig/merge_config.sh
>>>> @@ -145,7 +145,7 @@ for ORIG_MERGE_FILE in $MERGE_LIST ; do
>>>> NEW_VAL=$(grep -w $CFG $MERGE_FILE)
>>>> BUILTIN_FLAG=false
>>>> if [ "$BUILTIN" = "true" ] && [ "${NEW_VAL#CONFIG_*=}" = "m" ] && [ "${PREV_VAL#CONFIG_*=}" = "y" ]; then
>>>> - ${WARNOVVERIDE} Previous value: $PREV_VAL
>>>> + ${WARNOVERRIDE} Previous value: $PREV_VAL
>>>> ${WARNOVERRIDE} New value: $NEW_VAL
>>>> ${WARNOVERRIDE} -y passed, will not demote y to m
>>>> ${WARNOVERRIDE}

--
Mirsad Todorovac
System engineer
Faculty of Graphic Arts | Academy of Fine Arts
University of Zagreb
Republic of Croatia, the European Union

Sistem inženjer
Grafički fakultet | Akademija likovnih umjetnosti
Sveučilište u Zagrebu