Merge r7422 from trunk

git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7675 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2018-11-04 04:11:44 +00:00
parent 4219f00e10
commit 28bd1926f8

View File

@@ -4975,7 +4975,7 @@ static inline struct scatterlist *sg_next_inline(struct scatterlist *sg)
static inline void sg_clear(struct scatterlist *sg)
{
memset(sg, 0, sizeof(*sg));
#if 0 // def CONFIG_DEBUG_SG
#ifdef CONFIG_DEBUG_SG
sg->sg_magic = SG_MAGIC;
#endif
}