summaryrefslogtreecommitdiff
path: root/include/linux/i2c.h
diff options
context:
space:
mode:
authorDanny Kukawka <danny.kukawka@bisect.de>2012-02-21 02:07:49 (GMT)
committerDavid S. Miller <davem@davemloft.net>2012-02-23 22:03:20 (GMT)
commit504f9b5a6bb5336ad434438d0cdd61a16db80129 (patch)
tree307356c1d47a8300fd4973159edaad130c5cda9f /include/linux/i2c.h
parent32d219ed61a97f6591a941e23673b2c1dd8628e7 (diff)
downloadlinux-fsl-qoriq-504f9b5a6bb5336ad434438d0cdd61a16db80129.tar.xz
ethernet: unify return value of .ndo_set_mac_address if address is invalid
Unify return value of .ndo_set_mac_address if the given address isn't valid. Return -EADDRNOTAVAIL as eth_mac_addr() already does if is_valid_ether_addr() fails. Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/i2c.h')
0 files changed, 0 insertions, 0 deletions