# Re: \[PATCH 4/4\] alpha: Use absolute\_pointer for strcmp on fixed memory location

- From: Guenter Roeck \<linux@roeck-us.net\>
- Date: 2021-09-12 20:37:40 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/09/1504669
- Thread: https://ratatoskr.run/linux-alpha/2021/09/1504539/t.md

```text
On 9/12/21 12:13 PM, Linus Torvalds wrote:
> On Sun, Sep 12, 2021 at 9:02 AM Guenter Roeck [ref] wrote:
>>
>> -       if (strcmp(COMMAND_LINE, "INSTALL") == 0) {
>> +       if (strcmp(absolute_pointer(COMMAND_LINE), "INSTALL") == 0) {
>
> Again, this feels very much like treating the symptoms, not actually
> fixing the real issue.
>
> It's COMMAND_LINE itself that should have been fixed up, not that one use of it.
>
> Because the only reason you didn't get a warning from later uses is
> that 'strcmp()' is doing compiler-specific magic. You're just delaying
> the inevitable warnings about the other uses of that thing.
>

COMMAND_LINE is, for whatever reason, defined in
arch/alpha/include/uapi/asm/setup.h, ie in the uapi.

Can I even touch that ?

Guenter
```
