Abhijeet Joglekar wrote:
+ +static ssize_t fnic_show_drv_version(struct device *dev, + struct device_attribute *attr, char *buf) +{ + return snprintf(buf, PAGE_SIZE, "%s\n", DRV_VERSION); +}
I think in the past we were supposed to just export this with the MODULE_VERSION() function (you can then see it /sys/module/fnic/version).
I saw other FC drivers put it on the host now though, so maybe it is ok now. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html