[LEDE-DEV] Fix NULL pointer dereferece in at803x_link_change_notify()

2017-09-28 Thread Andrey Jr. Melnikov
Hello. Fix NULL pointer dereferece in at803x_link_change_notify(). Signed-Off-by: "Andrey Jr. Melnikov" -- diff --git a/target/linux/ar71xx/patches-4.4/902-at803x-add-reset-gpio-pdata.patch b/target/linux/ar71xx/patches-4.4/902-at803x-add-reset-gpio-pdata.patch index 2244f882e7..

Re: [LEDE-DEV] kernel 4.9 migration for next release

2017-10-03 Thread Andrey Jr. Melnikov
Stijn Tintel wrote: > On 03-10-17 03:31, David Lang wrote: > > note that the kernel currently under development (4.14) is tagged to > > be a LTS kernel (6 years of support), so it would be good to work on > > that if possible. > I would prefer to have a release based on 4.9 first. Many targets hav

[LEDE-DEV] [PATCH] ar71xx: Fix NULL pointer dereferece in at803x_link_change_notify()

2017-10-07 Thread Andrey Jr. Melnikov
Check pdata pointer before use to avoid OOPS if dev_get_platdata() return NULL. Signed-off-by: "Andrey Jr. Melnikov" --- diff --git a/target/linux/ar71xx/patches-4.4/902-at803x-add-reset-gpio-pdata.patch b/target/linux/ar71xx/patches-4.4/902-at803x-add-reset-gpio-pdata.patch index

Re: [LEDE-DEV] [PATCH 0/4] ar71xx: add support for kernel 4.9

2017-10-08 Thread Andrey Jr. Melnikov
Arjen de Korte wrote: > Citeren Hauke Mehrtens : > > This adds support for kernel 4.9. > > Please test this, I am lacking especially NAND devices. > > > > The most recent version of these patches can be found here: > > https://git.lede-project.org/?p=lede/hauke/staging.git;a=shortlog;h=refs/heads

Re: [LEDE-DEV] [PATCH 0/4] ar71xx: add support for kernel 4.9

2017-10-09 Thread Andrey Jr. Melnikov
Hauke Mehrtens wrote: > On 10/08/2017 01:31 PM, Andrey Jr. Melnikov wrote: > > Arjen de Korte wrote: > >> Citeren Hauke Mehrtens : > > > >>> This adds support for kernel 4.9. > >>> Please test this, I am lacking especially NAND devices. > >

Re: [LEDE-DEV] [PATCH 0/4] ar71xx: add support for kernel 4.9

2017-10-10 Thread Andrey Jr. Melnikov
Hauke Mehrtens wrote: > On 10/09/2017 01:28 PM, Andrey Jr. Melnikov wrote: > > Hauke Mehrtens wrote: > >> On 10/08/2017 01:31 PM, Andrey Jr. Melnikov wrote: > >>> Arjen de Korte wrote: > >>>> Citeren Hauke Mehrtens : [] > > USB workin

Re: [LEDE-DEV] [PATCH 2/2] download.mk: introduce a new variable SKIPHASH

2017-10-26 Thread Andrey Jr. Melnikov
Baptiste Jonglez wrote: > When calling a download target, hash verification is now completely > skipped if the SKIPHASH variable is set. > This allows to easily bump package version: > # Update PKG_VERSION in the package Makefile > $ make package//download SKIPHASH=1 V=s > $ make pac

Re: [LEDE-DEV] [PATCH] libfstools: support file paths longer than 255 chars

2018-01-06 Thread Andrey Jr. Melnikov
Rafa?? Mi??ecki wrote: > From: Rafa?? Mi??ecki > Alloc globdir buffer dynamically and simply use realloc when needed. > This fixes e.g. segmentation fault in jffs2reset due to an infinite > recurrency when dealing with longs paths. > Signed-off-by: Rafa?? Mi??ecki > --- > libfstools/overlay.c

Re: [LEDE-DEV] OpenWrt LEDE merge

2018-01-16 Thread Andrey Jr. Melnikov
In gmane.comp.embedded.lede.devel Hauke Mehrtens wrote: [...] > Old pre-15.05 OpenWrt CC releases, which are not supported any more, can > be found at https://archive.openwrt.org . Old https://dev.openwrt.org serving content with untrusted WoSign certificate: Certificate chain 0 s:/CN=dev.ope

Re: [LEDE-DEV] [PATCH 05/25] kernel: generic: make patches apply on top of kernel 4.14

2018-01-29 Thread Andrey Jr. Melnikov
Hauke Mehrtens wrote: > This modifies the patches in a way that they will apply on top of kernel > 4.14 and also make them build with the x86 target. The configuration > which was copied from kernel 4.9 before is also modified in this patch. [] > diff --git > a/target/linux/generic/pending-

Re: [LEDE-DEV] [PATCH] kernel: backport fix undefined abort

2018-01-30 Thread Andrey Jr. Melnikov
Evgeniy Didin wrote: > While building mpi.ko module with stable Linux v4.14.14 an error occured: > >ERROR: "abort" [lib/mpi/mpi.ko] undefined! > In upstream Linux 4.15 this issue is fixed: > Commit 7c2c11b208be ("arch: define weak abort()") > https://git.kernel.org/pub/scm/linux/kernel/git/torval

Re: [LEDE-DEV] [PATCH] kernel: backport fix undefined abort

2018-01-30 Thread Andrey Jr. Melnikov
Hauke Mehrtens wrote: > On 01/30/2018 04:32 PM, Andrey Jr. Melnikov wrote: > > Evgeniy Didin wrote: > > > >> While building mpi.ko module with stable Linux v4.14.14 an error occured: > >>> ERROR: "abort" [lib/mpi/mpi.ko] undefined! > >>

Re: [LEDE-DEV] [PATCH] uqmi: ensure CID is a numeric value before proceeding

2018-02-19 Thread Andrey Jr. Melnikov
Koen Vandeputte wrote: > The current implementation only checked if uqmi itself executed > correctly which is also the case when the returned value is actually > an error. > Rework this, checking that CID is a numeric value, which can only > be true if uqmi itself also executed correctly. Why ig

Re: [LEDE-DEV] [PATCH 3/3] lantiq: add support for AVM FRITZ!Box 7412

2018-03-10 Thread Andrey Jr. Melnikov
Valentin Spreckels wrote: > Specification: > - SoC: Lantiq VRX 220 > - CPU Cores: 2x MIPS 34Kc at 500 MHz > - RAM: 128 MiB 250 MHz > - Storage: 128 MiB NAND flash > - Ethernet: built-in Fast Ethernet switch, only port 2 is used > - Wireless: Atheros AR9287-BL1A b/g/n with 2 pcb antennas > - Modem: