this patch fixes two warnings found by checkpatch on ipath_common.h the warnings were of the type: WARNING: __aligned(size) is preferred over __attribute__((aligned(size)))
Subsystems (2)
PATCH 1/1 this patch fixes two warnings found by checkpatch on ipath_common.h the warnings were of the type: WARNING: __aligned(size) is preferred over __attribute__((aligned(size)))
Signed-off-by Joseph Marrero <[email protected]>
--- drivers/staging/rdma/ipath/ipath_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/rdma/ipath/ipath_common.h +2 -2
@@ -342,7 +342,7 @@ struct ipath_base_info {__u64 spi_port_rcvhdr_base;__u64 spi_port_rcvhdr_tailaddr; -} __attribute__ ((aligned(8))); +}__aligned(8) ;/*
@@ -427,7 +427,7 @@ struct ipath_user_info {*/ __u64 spu_base_info; -} __attribute__ ((aligned(8))); +}__aligned(8) ;/* User commands. */
Signature · 6 lines
2.5.0 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html