Skip to content

Commit b91bf5b

Browse files
author
Nicholas Bellinger
committed
target: Fix compile warning w/ missing module.h include
This patch fixes the following compile warning in target_core_cdb.c in recent linux-next code due to the new use of EXPORT_SYMBOL() for target_get_task_cdb(). drivers/target/target_core_cdb.c:1316: warning: data definition has no type or storage class drivers/target/target_core_cdb.c:1316: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL’ drivers/target/target_core_cdb.c:1316: warning: parameter names (without types) in function declaration Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
1 parent 2e982ab commit b91bf5b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/target/target_core_cdb.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
*/
2525

2626
#include <linux/kernel.h>
27+
#include <linux/module.h>
2728
#include <asm/unaligned.h>
2829
#include <scsi/scsi.h>
2930

0 commit comments

Comments
 (0)