From: Joe Stringer Date: Tue, 18 Feb 2014 17:39:12 +0000 (-0800) Subject: ofproto-provider: Update documentation. X-Git-Tag: sliver-openvswitch-2.1.90-1~1^2~28 X-Git-Url: http://git.onelab.eu/?p=sliver-openvswitch.git;a=commitdiff_plain;h=090fd77e07b028c3775ce547db45d46459c39208 ofproto-provider: Update documentation. This wording was in ofproto.c, but missing from ofproto-provider.h. Signed-off-by: Joe Stringer Signed-off-by: Ben Pfaff --- diff --git a/ofproto/ofproto-provider.h b/ofproto/ofproto-provider.h index d05adbc6e..2c72fbcf6 100644 --- a/ofproto/ofproto-provider.h +++ b/ofproto/ofproto-provider.h @@ -937,8 +937,9 @@ struct ofproto_class { void (*port_reconfigured)(struct ofport *ofport, enum ofputil_port_config old_config); - /* Looks up a port named 'devname' in 'ofproto'. On success, initializes - * '*port' appropriately. + /* Looks up a port named 'devname' in 'ofproto'. On success, returns 0 and + * initializes '*port' appropriately. Otherwise, returns a positive errno + * value. * * The caller owns the data in 'port' and must free it with * ofproto_port_destroy() when it is no longer needed. */