From: Michael Schmitz <schmitzmic@gmail.com>
To: Finn Thain <fthain@telegraphics.com.au>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>,
linux-m68k@lists.linux-m68k.org,
Michael Schmitz <schmitz@debian.org>
Subject: Re: [m68k:m68k-queue 8/13] drivers/usb/host/isp116x.h:370:87: note: in expansion of macro 'isa_rom_writew_raw'
Date: Sun, 31 May 2020 10:45:52 +1200 [thread overview]
Message-ID: <b69901cc-3ebe-125b-d1af-dee3230a16b6@gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.22.394.2005300930210.8@nippy.intranet>
Hi Finn,
Am 30.05.2020 um 11:32 schrieb Finn Thain:
> On Sat, 30 May 2020, Michael Schmitz wrote:
>
>> Hi Geert,
>>
>> the __w is used as a dummy read variable to execute a read cycle where
>> the address encodes the value to be written to the peripheral on the ROM
>> port. The value of this dummy variable is of no consequence (and may
>> very well be undefined).
>>
>> How do I annotate this so the compiler will shut up about it?
>>
>
> I think you want 'u16 __maybe_unused __w'.
Spot on, thanks.
Cheers,
Michael
prev parent reply other threads:[~2020-05-30 22:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-29 18:19 [m68k:m68k-queue 8/13] drivers/usb/host/isp116x.h:370:87: note: in expansion of macro 'isa_rom_writew_raw' kbuild test robot
2020-05-29 23:23 ` Michael Schmitz
2020-05-29 23:32 ` Finn Thain
2020-05-30 22:45 ` Michael Schmitz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b69901cc-3ebe-125b-d1af-dee3230a16b6@gmail.com \
--to=schmitzmic@gmail.com \
--cc=fthain@telegraphics.com.au \
--cc=geert@linux-m68k.org \
--cc=linux-m68k@lists.linux-m68k.org \
--cc=schmitz@debian.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox