Skip to content

Commit 6456ab5

Browse files
tititiou36martinkpetersen
authored andcommitted
scsi: libfc: Include the correct header
This file does not use rcu, so there is no point in including <linux/rculist.h>. The dependency has been removed in commit fa519f7 ("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 <[email protected]> Link: https://lore.kernel.org/r/960f34418358f0c35e645aa2cf7e0ec7fe6b60b9.1669461197.git.christophe.jaillet@wanadoo.fr Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 4e80eef commit 6456ab5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/scsi/libfc/fc_disc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include <linux/slab.h>
2525
#include <linux/err.h>
2626
#include <linux/export.h>
27-
#include <linux/rculist.h>
27+
#include <linux/list.h>
2828

2929
#include <asm/unaligned.h>
3030

0 commit comments

Comments
 (0)