Revision 0632448134d0ac1450a19d26f90948fde3b558ad authored by Karicheri, Muralidharan on 19 February 2016, 17:58:44 UTC, committed by David S. Miller on 22 February 2016, 03:03:15 UTC
SW data field in descriptor can be used by software to hold private
data for the driver. As there are 4 words available for this purpose,
use separate macros to place it or retrieve the same to/from
descriptors. Also do type cast of data types accordingly.

Cc: Wingman Kwok <w-kwok2@ti.com>
Cc: Mugunthan V N <mugunthanvnm@ti.com>
CC: Arnd Bergmann <arnd@arndb.de>
CC: Grygorii Strashko <grygorii.strashko@ti.com>
CC: David Laight <David.Laight@ACULAB.COM>
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent b1cb86a
History
File Mode Size
Kconfig -rw-r--r-- 476 bytes
Makefile -rw-r--r-- 343 bytes
ast.c -rw-r--r-- 8.0 KB
ast.h -rw-r--r-- 1.3 KB
config.c -rw-r--r-- 22.0 KB
config.h -rw-r--r-- 1.5 KB
debug_fs.c -rw-r--r-- 18.1 KB
dir.c -rw-r--r-- 7.4 KB
dir.h -rw-r--r-- 1.0 KB
dlm_internal.h -rw-r--r-- 20.0 KB
lock.c -rw-r--r-- 157.6 KB
lock.h -rw-r--r-- 3.1 KB
lockspace.c -rw-r--r-- 20.3 KB
lockspace.h -rw-r--r-- 1.0 KB
lowcomms.c -rw-r--r-- 40.5 KB
lowcomms.h -rw-r--r-- 1.1 KB
lvb_table.h -rw-r--r-- 687 bytes
main.c -rw-r--r-- 2.0 KB
member.c -rw-r--r-- 16.2 KB
member.h -rw-r--r-- 1.4 KB
memory.c -rw-r--r-- 2.1 KB
memory.h -rw-r--r-- 1.0 KB
midcomms.c -rw-r--r-- 3.7 KB
midcomms.h -rw-r--r-- 864 bytes
netlink.c -rw-r--r-- 2.8 KB
plock.c -rw-r--r-- 11.6 KB
rcom.c -rw-r--r-- 15.9 KB
rcom.h -rw-r--r-- 1.2 KB
recover.c -rw-r--r-- 22.8 KB
recover.h -rw-r--r-- 1.5 KB
recoverd.c -rw-r--r-- 7.9 KB
recoverd.h -rw-r--r-- 927 bytes
requestqueue.c -rw-r--r-- 4.8 KB
requestqueue.h -rw-r--r-- 882 bytes
user.c -rw-r--r-- 24.4 KB
user.h -rw-r--r-- 586 bytes
util.c -rw-r--r-- 4.5 KB
util.h -rw-r--r-- 805 bytes

back to top