[OpenWrt-Devel] [PATCH] kernel: ledtrig-netdev: use netdev_notifier_info

Luka Perkov luka at openwrt.org
Tue Jul 8 19:32:06 EDT 2014


Hi Claudio,

On Mon, Jul 07, 2014 at 08:24:32PM -0400, Claudio Leite wrote:
> Since kernel 3.11, the third parameter passed to notifier_call()
> is of type struct netdev_notifier_info. This patch fixes an oops
> when setting a netdev LED trigger.
> 
> Signed-off-by: Claudio Leite <leitec at staticky.com>
> ---
>  .../patches-3.12/833-ledtrig_netdev-use-notifier-info.patch | 13 +++++++++++++
>  .../patches-3.13/833-ledtrig_netdev-use-notifier-info.patch | 13 +++++++++++++
>  .../patches-3.14/833-ledtrig_netdev-use-notifier-info.patch | 13 +++++++++++++
>  3 files changed, 39 insertions(+)
>  create mode 100644 target/linux/generic/patches-3.12/833-ledtrig_netdev-use-notifier-info.patch
>  create mode 100644 target/linux/generic/patches-3.13/833-ledtrig_netdev-use-notifier-info.patch
>  create mode 100644 target/linux/generic/patches-3.14/833-ledtrig_netdev-use-notifier-info.patch

Applied in r41552. I have merged the patch with already existing
831-ledtrig_netdev.patch. Thanks for fixing this!

Luka
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list