]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
staging: slicoss: improve implementation concerning the shared memory
authorLino Sanfilippo <LinoSanfilippo@gmx.de>
Fri, 22 Jul 2016 21:09:18 +0000 (23:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 21 Aug 2016 15:59:45 +0000 (17:59 +0200)
commitfdb7777512785f90e712a7cb665a9adbaf673bd0
treedd2131f104c45bbf1f82570bdf5740c3719b50b4
parentc6d6a9a076968633313f61e8067edbe37290c270
staging: slicoss: improve implementation concerning the shared memory

Remove the volatile specifiers of struct slic_shmem. Furthermore store the
bus addresses for the isr pointer, link status and statistics separately
and access the upper and lower word of these addresses by means of
[lower|upper]_32_bits(). By doing this take the endianness into account.

Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/slicoss/slic.h
drivers/staging/slicoss/slicoss.c