> > +   if (!(adapter->adapter_features & FSF_FEATURE_MEASUREMENT_DATA)) {
> > +           ZFCP_LOG_NORMAL("error: Enhanced measurement feature not "
> > +                           "supported");
> > +           return -EOPNOTSUPP;
> > +   }

Btw. any user can flood the console with these messages if the adapter
doesn't support the feature. That can be considered a denial of service
attack. Please just return -EOPNOTSUPP and don't print anything on the
console.

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to