Thread (4 messages) 4 messages, 2 authors, 2017-01-19

Re: [PATCH v6] can: dev: add CAN interface termination API

From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: 2017-01-19 10:54:30

On 01/18/2017 06:48 PM, Oliver Hartkopp wrote:
Just a small issue in the commit message:

On 01/18/2017 03:59 PM, Marc Kleine-Budde wrote:
quoted
From: Oliver Hartkopp <socketcan@hartkopp.net>

This patch adds a netlink interface to configure the CAN bus termination of
CAN interfaces.

Inside the driver an array of supported termination values is defined:

const u16 drvname_termination[] = { 60, 120, CAN_TERMINATION_DISABLED };

struct drvname_priv *priv;
priv = netdev_priv(dev);

priv->termination_const = &drvname_termination;
This has to be:
priv->termination_const = drvname_termination;

or we will get a incompatible pointer warning.

Found the issue by adding the documentation PoC in usb_8dev for testing:
Fixed.

Thanks,
Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help