[PATCH v3 0/2] fix ib_device_cap_flags bit curruption

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch set fixes a bit corruption caused by expanding ib_device_cap_flags
enum to 64 bits, that caused a sign extension.
After many discussions regarding the solution, we decided on minimal fix in the
first stage.
Later on, we'll align all the caps enum to BIT/BIT_ULL macros as GKH recommended.
The addition in this vesion is the alignment of the casting method.


Max Gurtovoy (2):
  IB/core: Fix bit curruption in ib_device_cap_flags structure
  IB/core: Align casting method of ib_device_cap_flags enumerations to
    ULL

 include/rdma/ib_verbs.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]