diff options
| author | Karicheri, Muralidharan <[email protected]> | 2016-02-19 17:58:44 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-02-22 03:03:15 +0000 |
| commit | 0632448134d0ac1450a19d26f90948fde3b558ad (patch) | |
| tree | 38e962efb53a918067589c620028491204b94490 /net/unix/af_unix.c | |
| parent | soc: ti: knav_dma: rename pad in struct knav_dma_desc to sw_data (diff) | |
| download | kernel-0632448134d0ac1450a19d26f90948fde3b558ad.tar.gz kernel-0632448134d0ac1450a19d26f90948fde3b558ad.zip | |
net: netcp: rework the code for get/set sw_data in dma desc
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 <[email protected]>
Cc: Mugunthan V N <[email protected]>
CC: Arnd Bergmann <[email protected]>
CC: Grygorii Strashko <[email protected]>
CC: David Laight <[email protected]>
Signed-off-by: Murali Karicheri <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
