aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/scatterlist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/scatterlist.h b/include/linux/scatterlist.h
index 19b751aabd16..32326c293d7b 100644
--- a/include/linux/scatterlist.h
+++ b/include/linux/scatterlist.h
@@ -243,7 +243,7 @@ static inline void sg_init_table(struct scatterlist *sgl, unsigned int nents)
243 sg_mark_end(sgl, nents); 243 sg_mark_end(sgl, nents);
244#ifdef CONFIG_DEBUG_SG 244#ifdef CONFIG_DEBUG_SG
245 { 245 {
246 int i; 246 unsigned int i;
247 for (i = 0; i < nents; i++) 247 for (i = 0; i < nents; i++)
248 sgl[i].sg_magic = SG_MAGIC; 248 sgl[i].sg_magic = SG_MAGIC;
249 } 249 }