summaryrefslogtreecommitdiff
path: root/include/net/firewire.h
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-07-26 17:49:06 +0300
committerJakub Kicinski <kuba@kernel.org>2022-07-28 22:21:54 -0700
commit29192a170e1579ac8293d00c88d9938c2b2f5aab (patch)
treea58fc9d01277fdfa519f4d0337266f2a80c58748 /include/net/firewire.h
parent39befe3a43a5856b36de4e880804b9b110dd2885 (diff)
firewire: net: Make use of get_unaligned_be48(), put_unaligned_be48()
Since we have a proper endianness converters for BE 48-bit data use them. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20220726144906.5217-1-andriy.shevchenko@linux.intel.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net/firewire.h')
-rw-r--r--include/net/firewire.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/firewire.h b/include/net/firewire.h
index 2442d645e412..8fbff8d77865 100644
--- a/include/net/firewire.h
+++ b/include/net/firewire.h
@@ -13,8 +13,7 @@ union fwnet_hwaddr {
__be64 uniq_id; /* EUI-64 */
u8 max_rec; /* max packet size */
u8 sspd; /* max speed */
- __be16 fifo_hi; /* hi 16bits of FIFO addr */
- __be32 fifo_lo; /* lo 32bits of FIFO addr */
+ u8 fifo[6]; /* FIFO addr */
} __packed uc;
};