Re: [PATCH v1] mt76: mt7615: Fix build with older compilers

From: Sergei Shtylyov
Date: Mon Dec 02 2019 - 04:18:41 EST


Hello!

On 01.12.2019 21:17, Pablo Greco wrote:

Some compilers (tested with 4.8.5 from CentOS 7) fail properly process

Fail to?

FIELD_GET inside an inline function, which ends up in a BUILD_BUG_ON.
Convert inline function to a macro.

Fixes commit bf92e7685100 ("mt76: mt7615: add support for per-chain
signal strength reporting")

Should be:

Fixes: bf92e7685100 ("mt76: mt7615: add support for per-chain signal strength reporting")

Do not ever break up the Fixes: line and don't insert empty lines between it and other tags.

Reported in https://lkml.org/lkml/2019/9/21/146

Reported-by: kbuild test robot <lkp@xxxxxxxxx>
Signed-off-by: Pablo Greco <pgreco@xxxxxxxxxxxxxxxxx>
[...]

MBR, Sergei