diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-07-26 16:49:06 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-07-29 07:21:54 +0200 |
commit | 29192a170e1579ac8293d00c88d9938c2b2f5aab (patch) | |
tree | a58fc9d01277fdfa519f4d0337266f2a80c58748 /include/net/firewire.h | |
parent | amt: fix typo in comment (diff) | |
download | linux-29192a170e1579ac8293d00c88d9938c2b2f5aab.tar.xz linux-29192a170e1579ac8293d00c88d9938c2b2f5aab.zip |
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 '')
-rw-r--r-- | include/net/firewire.h | 3 |
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; }; |