public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 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)))
@ 2015-11-25  3:43 Joseph Marrero
  0 siblings, 0 replies; only message in thread
From: Joseph Marrero @ 2015-11-25  3:43 UTC (permalink / raw)
  To: infinipath-ral2JQCrhuEAvxtiuMwx3w; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

Signed-off-by: Joseph Marrero <jmarrero-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
 drivers/staging/rdma/ipath/ipath_common.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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. */
 
-- 
2.5.0

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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-25  3:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-25  3:43 [PATCH] 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))) Joseph Marrero

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox