diff options
author | Li Ming <ming.li@zohomail.com> | 2025-02-21 04:24:47 +0300 |
---|---|---|
committer | Dave Jiang <dave.jiang@intel.com> | 2025-03-15 00:37:01 +0300 |
commit | eeba74747a6634c59887750efcf534b335899993 (patch) | |
tree | f401788f40b88a5705145da906a01d36cac4654b /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 2014c95afecee3e76ca4a56956a936e23283f05b (diff) | |
download | linux-eeba74747a6634c59887750efcf534b335899993.tar.xz |
cxl/core: Use guard() to replace open-coded down_read/write()
Some down/up_read() and down/up_write() cases can be replaced by a
guard() simply to drop explicit unlock invoked. It helps to align coding
style with current CXL subsystem's.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Alison Schofield <alison.schofield@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Acked-by: Davidlohr Bueso <dave@stgolabs.net>
Signed-off-by: Li Ming <ming.li@zohomail.com>
Link: https://patch.msgid.link/20250221012453.126366-2-ming.li@zohomail.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions