checkpatch.pl false positive on exported pointers

From: Dan Williams
Date: Sun Jul 29 2007 - 12:28:39 EST


WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
#563: FILE: drivers/scsi/iioc34x/iioc34x_sas.c:58:
+EXPORT_SYMBOL(iioc34x_transport_template);

drivers/scsi/iioc34x/iioc34x_sas.c:57
struct scsi_transport_template *iioc34x_transport_template;
EXPORT_SYMBOL(iioc34x_transport_template);

I suspect the script wants:
EXPORT_SYMBOL(*iioc34x_transport_template);
...but that does not compile.

Thanks,
Dan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/