]> git.itanic.dy.fi Git - linux-stable/commitdiff
scsi: libfc: Include the correct header
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 26 Nov 2022 11:13:27 +0000 (12:13 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 1 Dec 2022 03:03:36 +0000 (03:03 +0000)
This file does not use rcu, so there is no point in including
<linux/rculist.h>.

The dependency has been removed in commit fa519f701d27 ("scsi: libfc: fixup
'sleeping function called from invalid context'") It turned a
list_for_each_entry_rcu() into a list_for_each_entry().

So just #include <linux/list.h> now.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/960f34418358f0c35e645aa2cf7e0ec7fe6b60b9.1669461197.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/libfc/fc_disc.c

index 0f32ded246d0bfdd889fdae53da0878c3f0d3d8b..384f48ff64d721f667fa97f6827ae1ced988a5a8 100644 (file)
@@ -24,7 +24,7 @@
 #include <linux/slab.h>
 #include <linux/err.h>
 #include <linux/export.h>
-#include <linux/rculist.h>
+#include <linux/list.h>
 
 #include <asm/unaligned.h>