Re: cocci: multiple versions of function with different arguments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 24, 2014 at 4:42 AM, Stefan Assmann <sassmann@xxxxxxxxx> wrote:
> Here's an example.
> 80d5c3689b886308247da295a228a54df49a44f6 introduces the following change
> to struct net_device_ops.
>         int                     (*ndo_vlan_rx_add_vid)(struct net_device *dev,
> -                                                      unsigned short vid);
> +                                                      __be16 proto, u16 vid);


Yeah that seems reasonable to use Coccinelle for!

  Luis
--
To unsubscribe from this list: send the line "unsubscribe backports" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux