]> git.baikalelectronics.ru Git - kernel.git/commit
staging/octeon: Mark Ethernet driver as BROKEN
authorGuenter Roeck <linux@roeck-us.net>
Mon, 2 Dec 2019 14:18:36 +0000 (06:18 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Dec 2019 09:04:31 +0000 (10:04 +0100)
commitf589d55f22bc4b0d8970664b8a96927950ea93b8
tree5ce00361f9091de24a8598529bccf0c42e5a7fba
parent47599c6298943ede4662b5e31dfe375feac1b48a
staging/octeon: Mark Ethernet driver as BROKEN

The code doesn't compile due to incompatible pointer errors such as

drivers/staging/octeon/ethernet-tx.c:649:50: error:
passing argument 1 of 'cvmx_wqe_get_grp' from incompatible pointer type

This is due to mixing, for example, cvmx_wqe_t with 'struct cvmx_wqe'.

Unfortunately, one can not just revert the primary offending commit, as doing so
results in secondary errors. This is made worse by the fact that the "removed"
typedefs still exist and are used widely outside the staging directory,
making the entire set of "remove typedef" changes pointless and wrong.

Reflect reality and mark the driver as BROKEN.

Fixes: 0c73e8491a0c ("staging: octeon: remove typedef declaration for cvmx_wqe")
Fixes: a9891701f020 ("staging: octeon: remove typedef declaration for cvmx_helper_link_info")
Cc: Wambui Karuga <wambui.karugax@gmail.com>
Cc: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20191202141836.9363-1-linux@roeck-us.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/Kconfig