From patchwork Sun Jun 10 14:05:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Lindner X-Patchwork-Id: 2031 Return-Path: Received: from nm11.bullet.mail.ukl.yahoo.com (nm11.bullet.mail.ukl.yahoo.com [217.146.183.185]) by open-mesh.org (Postfix) with SMTP id 98335600903 for ; Sun, 10 Jun 2012 16:05:52 +0200 (CEST) Authentication-Results: open-mesh.org; dkim=pass (1024-bit key; insecure key) header.i=@yahoo.de; dkim-adsp=pass Received: from [217.146.183.180] by nm11.bullet.mail.ukl.yahoo.com with NNFMP; 10 Jun 2012 14:05:51 -0000 Received: from [217.146.182.243] by tm11.bullet.mail.ukl.yahoo.com with NNFMP; 10 Jun 2012 14:05:51 -0000 Received: from [127.0.0.1] by smtp154.mail.ukl.yahoo.com with NNFMP; 10 Jun 2012 14:05:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1339337151; bh=gAXXLqqhHqrCt4d58cPIxi4E2JxwlygQ+R9G8WO4SRQ=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:To:Cc:Subject:Date:Message-Id:X-Mailer; b=eQWb/MFB0je/5Va5oFRzx1w93YxfYhAH5ZgXqUrqBqD22QBNIUsCV3ay3Dp+qz/DHktjXUh8oCmw1MypqH7Y/UHl1bHLogfkYMMCCdupfkkCC5vii0gUAH29Wr0dFtnIWfnJdGF8HX3hYwNb6OOkQAJ4fW85pOjMGBHVy62CIRk= X-Yahoo-Newman-Id: 734045.74510.bm@smtp154.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 57WzH3YVM1kZMIUYPVUZ9hxf1f5rGzm3JcNwriB6WJZj_59 EX7lw8G8.9.TYVuE6zxiU.VNlo_haBh5yN8oGRgSgvsDY4iNnXrz9bZsVrAY vHaq4pik7tPOsFgU2YBW7zOaJw7_W6q8CQ6_2Im_J8_Q9DaSB.Z9FxSmugtg ZwuxPW3ydajTJlGqIJeAK1D6OU5CsY5Q2ha74H992olI6cIr6iJ4W5gdoKIV X3kvcjXY4fx0_avHx_lOuAi_qvD4hMsBF9dHlkV_bcUF.6uwRk_i3rgGvniH PDfO52D5B3Q0Bbxnwynwo2DaH0a0nRJixAqDlP7p0EYqlridHG6B5zNrdagQ Zq67ogGqj98OfPdu_3luJXAJmGPn9RGe1RUquP.4ScuNdqjau5ix7HoXUhln yLA-- X-Yahoo-SMTP: tW.h3tiswBBMXO2coYcbPigGD5Lt6zY_.Zc- Received: from localhost (lindner_marek@210.177.7.38 with plain) by smtp154.mail.ukl.yahoo.com with SMTP; 10 Jun 2012 07:05:50 -0700 PDT From: Marek Lindner To: b.a.t.m.a.n@lists.open-mesh.org Date: Sun, 10 Jun 2012 22:05:40 +0800 Message-Id: <1339337141-3938-1-git-send-email-lindner_marek@yahoo.de> X-Mailer: git-send-email 1.7.9.1 Cc: Marek Lindner Subject: [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: fix SIF show / store uint regression X-BeenThere: b.a.t.m.a.n@lists.open-mesh.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2012 14:05:53 -0000 Regression was introduced with commit: 98881e49 Signed-off-by: Marek Lindner Acked-by: Sven Eckelmann --- bat_sysfs.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bat_sysfs.c b/bat_sysfs.c index e0272fe..e1ba286 100644 --- a/bat_sysfs.c +++ b/bat_sysfs.c @@ -135,8 +135,9 @@ ssize_t batadv_store_##_name(struct kobject *kobj, \ if (!hard_iface) \ return 0; \ \ - length = __store_uint_attr(buff, count, _min, _max, _post_func, \ - attr, &hard_iface->_name, net_dev); \ + length = __batadv_store_uint_attr(buff, count, _min, _max, \ + _post_func, attr, \ + &hard_iface->_name, net_dev); \ \ hardif_free_ref(hard_iface); \ return length; \