staging: vchiq_core: introduce SLOT_QUEUE_INDEX_FROM_POS_MASKED
authorStefan Wahren <stefan.wahren@i2se.com>
Sun, 11 Apr 2021 18:11:38 +0000 (20:11 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Apr 2021 09:41:22 +0000 (11:41 +0200)
commita8def5034a277e312e2ac6ec82a862aa5f1323ec
treea9643cf0942e374e9fa140b5dec11083e279d32b
parent7a4da84ce81810eb6f9f0842c7199f1d57fbca79
staging: vchiq_core: introduce SLOT_QUEUE_INDEX_FROM_POS_MASKED

Define a macro which already masked the result of SLOT_QUEUE_INDEX_FROM_POS.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Link: https://lore.kernel.org/r/1618164700-21150-9-git-send-email-stefan.wahren@i2se.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c