From patchwork Wed May 13 08:40:12 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiri Pirko X-Patchwork-Id: 27151 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@bilbo.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 8DB3AB7069 for ; Wed, 13 May 2009 18:40:34 +1000 (EST) Received: by ozlabs.org (Postfix) id 80927DDFDD; Wed, 13 May 2009 18:40:34 +1000 (EST) Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id 19904DDFDC for ; Wed, 13 May 2009 18:40:34 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754887AbZEMIkZ (ORCPT ); Wed, 13 May 2009 04:40:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753583AbZEMIkZ (ORCPT ); Wed, 13 May 2009 04:40:25 -0400 Received: from mx2.redhat.com ([66.187.237.31]:44840 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750860AbZEMIkY (ORCPT ); Wed, 13 May 2009 04:40:24 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n4D8eE7U011491; Wed, 13 May 2009 04:40:14 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n4D8eCgF022866; Wed, 13 May 2009 04:40:13 -0400 Received: from localhost (psychotron.englab.brq.redhat.com [10.34.32.135]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n4D8eBAS022525; Wed, 13 May 2009 04:40:11 -0400 Date: Wed, 13 May 2009 10:40:12 +0200 From: Jiri Pirko To: netdev@vger.kernel.org Cc: davem@davemloft.net, sfr@canb.auug.org.au, sachinp@in.ibm.com, Wei Yongjun Subject: [PATCH net-next] net: remove needless (now buggy) & from dev->dev_addr (part2) Message-ID: <20090513084011.GC3517@psychotron.englab.brq.redhat.com> References: <20090512093714.GD3399@psychotron.englab.brq.redhat.com> <4A0A2059.8040607@cn.fujitsu.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4A0A2059.8040607@cn.fujitsu.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Missed part of "&" removal. Signed-off-by: Jiri Pirko --- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/net/llc/af_llc.c b/net/llc/af_llc.c index febae70..9208cf5 100644 --- a/net/llc/af_llc.c +++ b/net/llc/af_llc.c @@ -935,7 +935,7 @@ static int llc_ui_getname(struct socket *sock, struct sockaddr *uaddr, if (llc->dev) { sllc.sllc_arphrd = llc->dev->type; - memcpy(&sllc.sllc_mac, &llc->dev->dev_addr, + memcpy(&sllc.sllc_mac, llc->dev->dev_addr, IFHWADDRLEN); } }