diff options
| author | Lang Cheng <[email protected]> | 2021-06-21 16:00:37 +0800 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2021-06-21 15:03:41 -0300 |
| commit | a762fe656b1d59a3d597c0556aa6c029c569364a (patch) | |
| tree | d3407239b44dd9f85d31a78f6b6ad75fd8e8cf81 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | fe331da0f210c60342b042a03fe53f1b564b412b (diff) | |
RDMA/hns: Add hr_reg_write_bool()
In order to avoid to do bitwise operations on a boolean value, add a new
register interface to avoid sparse comlaint about "dubious: x & !y" when
calling hr_reg_write(ctx, field, !!val).
Fixes: dc504774408b ("RDMA/hns: Use new interface to set MPT related fields")
Fixes: 495c24808ce7 ("RDMA/hns: Add XRC subtype in QPC and XRC type in SRQC")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lang Cheng <[email protected]>
Signed-off-by: Weihang Li <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions