diff mbox

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)))

Message ID 20151125034334.GA21739@localhost.localdomain (mailing list archive)
State Not Applicable
Headers show

Commit Message

Joseph Marrero Nov. 25, 2015, 3:43 a.m. UTC
Signed-off-by: Joseph Marrero <jmarrero@gmail.com>
---
 drivers/staging/rdma/ipath/ipath_common.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/drivers/staging/rdma/ipath/ipath_common.h b/drivers/staging/rdma/ipath/ipath_common.h
index 28cfe97..242890f 100644
--- a/drivers/staging/rdma/ipath/ipath_common.h
+++ b/drivers/staging/rdma/ipath/ipath_common.h
@@ -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. */