summaryrefslogtreecommitdiff
path: root/drivers/misc/sgi-xp/xp_main.c
diff options
context:
space:
mode:
authorTomer Tayar <ttayar@habana.ai>2020-11-22 11:02:50 +0200
committerOded Gabbay <ogabbay@kernel.org>2020-11-30 10:47:38 +0200
commit3e438b42a5fbf19e44c6c3e0481ed4b5672d8f42 (patch)
treed77f36932e447397b8369da3bc9c871f202f315f /drivers/misc/sgi-xp/xp_main.c
parent3b82c34f0662cc311a81b4b0e94b982db3d24a7c (diff)
habanalabs: Add mask for CS type bits in CS flags
hl_cs_sanity_checks() extracts the CS type bits of the CS flags, by masking out the non-type bits. To save the need for updating the function whenever new bits for non-type flags are added, add an explicit mask for the CS type bits. Signed-off-by: Tomer Tayar <ttayar@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc/sgi-xp/xp_main.c')
0 files changed, 0 insertions, 0 deletions