From: Joseph Marrero <jmarrero-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: infinipath-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [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)))
Date: Wed, 25 Nov 2015 03:43:34 +0000 [thread overview]
Message-ID: <20151125034334.GA21739@localhost.localdomain> (raw)
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
reply other threads:[~2015-11-25 3:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151125034334.GA21739@localhost.localdomain \
--to=jmarrero-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=infinipath-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox