From: Ursula Braun Date: Wed, 7 Mar 2012 02:06:28 +0000 (+0000) Subject: qeth: meaningful return code for set_mac_address X-Git-Tag: v3.4-rc1~177^2~114 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e0a8114c034cf8012565c5d56dd90967023cc724;p=pandora-kernel.git qeth: meaningful return code for set_mac_address Setting an invalid mac-address for a qeth layer2 device returns with a strange error code: # ip link set hsi1 address 00:00:00:00:00:01 RTNETLINK answers: Unknown error 18446744073709486085 Problem is caused by wrong usage of the return_code field within structure qeth_ipa_cmd. With this patch the ip command above returns SIOCSIFHWADDR: Invalid argument Signed-off-by: Ursula Braun Signed-off-by: Frank Blaschka Signed-off-by: David S. Miller --- Reading git-diff-tree failed