mirror of https://gitee.com/openkylin/linux.git
staging: ks7010: split long line
Fixes checkpatch warning: line over 80 characters Signed-off-by: Jiong Du <jiongdu0.0@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
5906d33c5f
commit
091a3d58f0
|
@ -17,7 +17,8 @@
|
|||
#define ROL32(A, n) (((A) << (n)) | (((A)>>(32-(n))) & ((1UL << (n)) - 1)))
|
||||
#define ROR32(A, n) ROL32((A), 32-(n))
|
||||
// Convert from Byte[] to UInt32 in a portable way
|
||||
#define getUInt32(A, B) ((uint32_t)(A[B+0] << 0) + (A[B+1] << 8) + (A[B+2] << 16) + (A[B+3] << 24))
|
||||
#define getUInt32(A, B) ((uint32_t)(A[B+0] << 0) \
|
||||
+ (A[B+1] << 8) + (A[B+2] << 16) + (A[B+3] << 24))
|
||||
|
||||
// Convert from UInt32 to Byte[] in a portable way
|
||||
#define putUInt32(A, B, C) \
|
||||
|
|
Loading…
Reference in New Issue