cxlflash: Add ULL specifier to context encode mask
PATCH 7/29 cxlflash: Add ULL specifier to context encode mask
The context encode mask covers more than 32-bits, making it a long integer. This should be noted by appending a specifier, 'ULL' in this case.
Signed-off-by Matthew R. Ochs <[email protected]>
Signed-off-by Manoj N. Kumar <[email protected]>
--- drivers/scsi/cxlflash/superpipe.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/cxlflash/superpipe.h +1 -1
@@ -87,7 +87,7 @@ enum ctx_ctrl {CTX_CTRL_FILE = (1 <<5 ) }; -#define ENCODE_CTXID (_ctx, _id) (((((u64)_ctx) & 0xFFFFFFFF0) << 28) | _id) +#define ENCODE_CTXID (_ctx, _id) (((((u64)_ctx) & 0xFFFFFFFF0ULL) << 28) | _id)#define DECODE_CTXID (_val) (_val & 0xFFFFFFFF)struct ctx_info {
Signature · 1 line
2.1.0