On 02/19/2013 06:05 AM, [email protected] wrote:
> +/* flash node connection attrs show */
> +#define iscsi_flashnode_conn_attr_show(type, name, param)            \
> +static ssize_t                                                               
> \
> +show_##type##_##name(struct device *dev, struct device_attribute *attr,      
> \
> +                  char *buf)                                         \
> +{                                                                    \
> +     struct iscsi_bus_flash_conn *fnode_conn = iscsi_dev_to_flash_conn(dev);\
> +     struct iscsi_bus_flash_session *fnode_sess =                    \
> +                             iscsi_flash_conn_to_flash_session(fnode_conn);\
> +     struct iscsi_transport *t = fnode_conn->transport;              \
> +     return t->get_flashnode_param(fnode_sess, param, buf);          \
> +}                                                                    \

For the params we store on the class iscsi_bus_flash_session struct we
should just have the class print the value. Just make that change and
send to the list. But, see other qla4xxx patch comment.

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/open-iscsi?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to