[ofa-general] Re: [PATCH v2 08/13] QLogic VNIC: sysfs interface implementation for the driver

Roland Dreier rdreier at cisco.com
Tue May 27 22:26:04 PDT 2008


 > +ssize_t vnic_create_primary(struct device *dev,
 > +			    struct device_attribute *dev_attr, const char *buf,
 > +			    size_t count)

 > +ssize_t vnic_create_secondary(struct device *dev,
 > +			      struct device_attribute *dev_attr,
 > +			      const char *buf, size_t count)

 > +ssize_t vnic_delete(struct device *dev, struct device_attribute *dev_attr,
 > +		    const char *buf, size_t count)

These are all only referenced from a sysfs attribute defined in the same
file, so they can be made static (and don't need extern declarations in
a header file).



More information about the general mailing list