From: August Lilleaas <august@augustl.com>
To: linux1394-devel@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org, stefanr@s5r6.in-berlin.de,
August Lilleaas <august@augustl.com>
Subject: [PATCH] Firewire: net: replacing deprecated __attribute__((packed)) with __packed
Date: Sun, 29 May 2011 19:07:19 +0200 [thread overview]
Message-ID: <1306688839-18732-1-git-send-email-august@augustl.com> (raw)
Fixing a deprecation, replacing __attribute__((packed)) with __packed.
Signed-off-by: August Lilleaas <august@augustl.com>
---
drivers/firewire/net.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/firewire/net.c b/drivers/firewire/net.c
index b9762d0..2e988ca 100644
--- a/drivers/firewire/net.c
+++ b/drivers/firewire/net.c
@@ -73,7 +73,7 @@ struct rfc2734_arp {
__be32 fifo_lo; /* lo 32bits of sender's FIFO addr */
__be32 sip; /* Sender's IP Address */
__be32 tip; /* IP Address of requested hw addr */
-} __attribute__((packed));
+} __packed;
/* This header format is specific to this driver implementation. */
#define FWNET_ALEN 8
@@ -81,7 +81,7 @@ struct rfc2734_arp {
struct fwnet_header {
u8 h_dest[FWNET_ALEN]; /* destination address */
__be16 h_proto; /* packet type ID field */
-} __attribute__((packed));
+} __packed;
/* IPv4 and IPv6 encapsulation header */
struct rfc2734_header {
--
1.7.5.2
next reply other threads:[~2011-05-29 17:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-29 17:07 August Lilleaas [this message]
2011-05-29 21:44 ` Stefan Richter
[not found] ` <BANLkTinoaAt4YamyDoOGbsDhCMBGZhz_rw@mail.gmail.com>
2011-05-29 22:19 ` August Lilleaas
2011-05-29 23:16 ` Stefan Richter
2011-06-02 12:07 ` Stefan Richter
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=1306688839-18732-1-git-send-email-august@augustl.com \
--to=august@augustl.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux1394-devel@lists.sourceforge.net \
--cc=stefanr@s5r6.in-berlin.de \
/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
all inboxes | Powered by JetHome®