On 08/02/2018 01:50 AM, Alexey Brodkin wrote:
> SWAP support on ARC was fixed earlier by
> commit 6e3761145a9b ("ARC: Fix CONFIG_SWAP")
> so now we may safely enable it on platforms that
> have external media like USB and SD-card.
>
> Signed-off-by: Alexey Brodkin
> Cc: sta...@vger.kernel.org # 6
Return value of file_path() should be validated with
IS_ERR() macro.
Generic print_vma_addr() implementation was used as an example.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/kernel/troubleshoot.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arc/kernel/troubleshoot.c b/arch/arc/
We get 'inode', 'dev', and 'ino' in show_faulting_vma()
but never use them. So get rid of this variables and corresponding
code.
Signed-off-by: Eugeniy Paltsev
---
arch/arc/kernel/troubleshoot.c | 11 ++-
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/arch/arc/kernel/troub
Instead of open coding logic for reading and writing GPIO lines,
use the generic GPIO library. Also switch to using the spinlock
from the generic GPIO to protect the registers.
Cc: linux-snps-arc@lists.infradead.org
Cc: Christian Ruppert
Signed-off-by: Linus Walleij
---
drivers/gpio/Kconfig
Create a local struct device *dev helper variable to make the code
easier to read.
Most GPIO drivers use "np" (node pointer) rather than "dn" (device node)
to point to the device tree node. Let's follow this convention.
Cc: linux-snps-arc@lists.infradead.org
Cc: Christian Ruppert
Signed-off-by:
This driver includes the legacy and
but all it needs is really .
Cc: linux-snps-arc@lists.infradead.org
Cc: Christian Ruppert
Signed-off-by: Linus Walleij
---
drivers/gpio/gpio-tb10x.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpio/gpio-tb10x.c b/drivers/gp
Hi Vineet,
On Thu, 2018-08-02 at 21:58 +, Vineet Gupta wrote:
> On 08/02/2018 03:19 AM, Alexey Brodkin wrote:
> > Otherwise kernel uses random MAC which is not very conveniet.
>
> Curious what exactly is the issue - why does the user care what MAC is
> assigned ?
>
> > With that change in p