]> git.baikalelectronics.ru Git - kernel.git/commit
can: proc: fix rcvlist_* header alignment on 64-bit system
authorErik Flodin <erik@flodin.me>
Sun, 25 Apr 2021 14:14:35 +0000 (16:14 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sun, 25 Apr 2021 17:43:00 +0000 (19:43 +0200)
commit6db8a56ff2dc4651966b9e7e38303d24eb014a54
tree74599cef33e1ab23a1eed7226c078810302cbcb2
parent78636d9fa1e2f6feae3059d5b129e3e9579781fd
can: proc: fix rcvlist_* header alignment on 64-bit system

Before this fix, the function and userdata columns weren't aligned:
  device   can_id   can_mask  function  userdata   matches  ident
   vcan0  92345678  9fffffff  0000000000000000  0000000000000000         0  raw
   vcan0     123    00000123  0000000000000000  0000000000000000         0  raw

After the fix they are:
  device   can_id   can_mask      function          userdata       matches  ident
   vcan0  92345678  9fffffff  0000000000000000  0000000000000000         0  raw
   vcan0     123    00000123  0000000000000000  0000000000000000         0  raw

Link: https://lore.kernel.org/r/20210425141440.229653-1-erik@flodin.me
Signed-off-by: Erik Flodin <erik@flodin.me>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
net/can/proc.c