Re: [PATCH] parisc: fix the exit status of arch/parisc/nm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, May 28, 2022 at 12:32 AM Helge Deller <deller@xxxxxx> wrote:
>
> On 5/27/22 16:39, Masahiro Yamada wrote:
> > Parisc overrides 'nm' with a shell script. I was hit by a false-positive
> > error of $(NM) because this script returns the exit code of grep instead
> > of ${CROSS_COMPILE}nm. (grep exits with 1 if no lines were selected)
> >
> > I tried to fix it, but in the code review, Helge suggested to remove it
> > entirely. [1]
> >
> > This script was added in 2003. [2]
> >
> > Presumably, it was a workaround for old toolchains (but even the parisc
> > maintainer does not know the detail any more).
> >
> > Hopefully recent tools should work fine.
> >
> > [1]: https://lore.kernel.org/all/1c12cd26-d8aa-4498-f4c0-29478b9578fe@xxxxxx/
> > [2]: https://git.kernel.org/pub/scm/linux/kernel/git/history/history.git/commit/?id=36eaa6e4c0e0b6950136b956b72fd08155b92ca3
> >
> > Suggested-by: Helge Deller <deller@xxxxxx>
> > Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
>
> Acked-by: Helge Deller <deller@xxxxxx>
>
> Thank you!
> Helge
>


I just forgot to change the patch subject.

I changed it to

"parisc: remove arch/parisc/nm"

Applied to linux-kbuild.
Thanks for the ack.



-- 
Best Regards
Masahiro Yamada



[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux