Re: [PATCH v2 3/4] PCI: pciehp: Replace pciehp_set_attention_status()

From: Lukas Wunner
Date: Mon Aug 12 2019 - 02:32:13 EST


On Sun, Aug 11, 2019 at 10:59:43PM +0300, Denis Efremov wrote:
> +#define pciehp_set_attention_status(ctrl, status) \
> + pciehp_set_indicators(ctrl, PWR_NONE, (status == 0 ? ATTN_OFF : status))

Reviewed-by: Lukas Wunner <lukas@xxxxxxxxx>

Good catch regarding the translation of the "off" value that's needed here.