vdpa/ifc: increase readability with bool type
authorJilei Chen <chenjilei@cmss.chinamobile.com>
Mon, 27 Sep 2021 10:17:55 +0000 (18:17 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 30 Sep 2021 17:23:02 +0000 (19:23 +0200)
commit5abb634c14377f463337b5376eb993753d01aded
treeceda6aee469ca8618c4048c4eb27fdf2d8b3d9b9
parent88ba30f0076c58ba076b13c5a2612c6bd6a465f5
vdpa/ifc: increase readability with bool type

Use bool type for function's switch parameter,
this could avoid passing "1" or "0" which is not reader friendly.

Signed-off-by: Jilei Chen <chenjilei@cmss.chinamobile.com>
Acked-by: Xiao Wang <xiao.w.wang@intel.com>
drivers/vdpa/ifc/ifcvf_vdpa.c