diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-10-23 15:02:09 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-11-07 03:39:11 -0500 |
commit | b342489ae795f5c2a9f7a565bac8443ccb11b0ce (patch) | |
tree | 49d9288929a9b23c8f93294eebf1b4339ea18d46 /include/hw/cxl/cxl_events.h | |
parent | b34ae3c9064a976e718dc96e454d32c1d8409eba (diff) | |
download | qemu-b342489ae795f5c2a9f7a565bac8443ccb11b0ce.zip qemu-b342489ae795f5c2a9f7a565bac8443ccb11b0ce.tar.gz qemu-b342489ae795f5c2a9f7a565bac8443ccb11b0ce.tar.bz2 |
hw/cxl: Line length reductions
Michael Tsirkin observed that there were some unnecessarily
long lines in the CXL code in a recent review.
This patch is intended to rectify that where it does not
hurt readability.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Fan Ni <fan.ni@samsung.com>
Message-Id: <20231023140210.3089-5-Jonathan.Cameron@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/cxl/cxl_events.h')
-rw-r--r-- | include/hw/cxl/cxl_events.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/cxl/cxl_events.h b/include/hw/cxl/cxl_events.h index 089ba20..d778487 100644 --- a/include/hw/cxl/cxl_events.h +++ b/include/hw/cxl/cxl_events.h @@ -92,7 +92,8 @@ typedef enum CXLEventIntMode { CXL_INT_RES = 0x03, } CXLEventIntMode; #define CXL_EVENT_INT_MODE_MASK 0x3 -#define CXL_EVENT_INT_SETTING(vector) ((((uint8_t)vector & 0xf) << 4) | CXL_INT_MSI_MSIX) +#define CXL_EVENT_INT_SETTING(vector) \ + ((((uint8_t)vector & 0xf) << 4) | CXL_INT_MSI_MSIX) typedef struct CXLEventInterruptPolicy { uint8_t info_settings; uint8_t warn_settings; |