From patchwork Tue Jan 5 16:45:21 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartley Sweeten X-Patchwork-Id: 71061 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id o05H4XtP015533 for ; Tue, 5 Jan 2010 17:04:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754750Ab0AERDn (ORCPT ); Tue, 5 Jan 2010 12:03:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754802Ab0AERDm (ORCPT ); Tue, 5 Jan 2010 12:03:42 -0500 Received: from [206.15.93.42] ([206.15.93.42]:9423 "EHLO visionfs1.visionengravers.com" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S932125Ab0AERDe (ORCPT ); Tue, 5 Jan 2010 12:03:34 -0500 X-Greylist: delayed 1075 seconds by postgrey-1.27 at vger.kernel.org; Tue, 05 Jan 2010 12:03:20 EST From: H Hartley Sweeten To: Linux Kernel Subject: [PATCH] drivers/media/dvb/dvb-core/dvb_net.c: use %pM to show MAC address Date: Tue, 5 Jan 2010 09:45:21 -0700 Cc: netdev@vger.kernel.org, linux-media@vger.kernel.org, davem@davemloft.net MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201001050945.21446.hartleys@visionengravers.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org diff --git a/drivers/media/dvb/dvb-core/dvb_net.c b/drivers/media/dvb/dvb-core/dvb_net.c index 8b8558f..da6552d 100644 --- a/drivers/media/dvb/dvb-core/dvb_net.c +++ b/drivers/media/dvb/dvb-core/dvb_net.c @@ -949,11 +949,8 @@ static int dvb_net_filter_sec_set(struct net_device *dev, (*secfilter)->filter_mask[10] = mac_mask[1]; (*secfilter)->filter_mask[11]=mac_mask[0]; - dprintk("%s: filter mac=%02x %02x %02x %02x %02x %02x\n", - dev->name, mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]); - dprintk("%s: filter mask=%02x %02x %02x %02x %02x %02x\n", - dev->name, mac_mask[0], mac_mask[1], mac_mask[2], - mac_mask[3], mac_mask[4], mac_mask[5]); + dprintk("%s: filter mac=%pM\n", dev->name, mac); + dprintk("%s: filter mask=%pM\n", dev->name, mac_mask); return 0; }