Re: [m68k:m68k-queue 8/13] drivers/usb/host/isp116x.h:370:87: note: in expansion of macro 'isa_rom_writew_raw'

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

 



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





[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux