[lldp-devel] [V2 1/4] vdp change vdp_add_profile function prototype

John Fastabend john.r.fastabend at intel.com
Fri Mar 8 09:11:02 UTC 2013


On 3/6/2013 6:09 AM, Thomas Richter wrote:
> Add the pointer to the vdp data structure to the
> function call vdp_add_profile.
>
> Signed-off-by: Thomas Richter <tmricht at linux.vnet.ibm.com>
> ---

Applied with 80char fix. Thanks Thomas.

[...]

> +++ b/lldp_vdp.c
> @@ -1370,21 +1370,12 @@ void vdp_takeover_macvlans(struct vsi_profile *p1, struct vsi_profile *p2)
>    * main interface function which adds a profile to a list kept on a per-port
>    * basis. Checks if the profile is already in the list, adds it if necessary.
>    */
> -struct vsi_profile *vdp_add_profile(struct vsi_profile *profile)
> +struct vsi_profile *vdp_add_profile(struct vdp_data *vd, struct vsi_profile *profile)

 >80 chars so I wrapped this for you.


More information about the lldp-devel mailing list