mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
Add CONFIG_DEBUG_SG sg validation
Add a Kconfig entry which will toggle some sanity checks on the sg entry and tables. Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
18dabf473e
commit
d6ec084200
25 changed files with 101 additions and 0 deletions
|
|
@ -2,6 +2,9 @@
|
|||
#define __ASM_CRIS_SCATTERLIST_H
|
||||
|
||||
struct scatterlist {
|
||||
#ifdef CONFIG_DEBUG_SG
|
||||
unsigned long sg_magic;
|
||||
#endif
|
||||
char * address; /* Location data is to be transferred to */
|
||||
unsigned int length;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue