CNS3xxx: Fix PCI cns3xxx_write_config()
authorKrzysztof Halasa <khalasa@piap.pl>
Fri, 11 Mar 2016 11:32:14 +0000 (12:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 May 2016 09:21:11 +0000 (11:21 +0200)
commitd65bf4e2407824aecba454c1b0bc7908a5113047
tree29b7b95d7253ebdf0fa5faccb5eecf7e24d6cf91
parentc94897e820a85375c4cb7447ac429f6d1550b331
CNS3xxx: Fix PCI cns3xxx_write_config()

commit 88e9da9a2a70b6f1a171fbf30a681d6bc4031c4d upstream.

The "where" offset was added twice, fix it.

Signed-off-by: Krzysztof HaƂasa <khalasa@piap.pl>
Fixes: 498a92d42596 ("ARM: cns3xxx: pci: avoid potential stack overflow")
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-cns3xxx/pcie.c