From patchwork Wed Dec 30 20:00:31 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartley Sweeten X-Patchwork-Id: 70306 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 nBUK0vj1031765 for ; Wed, 30 Dec 2009 20:00:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753369AbZL3UAc (ORCPT ); Wed, 30 Dec 2009 15:00:32 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753242AbZL3UAc (ORCPT ); Wed, 30 Dec 2009 15:00:32 -0500 Received: from exprod6og108.obsmtp.com ([64.18.1.21]:46798 "HELO exprod6og108.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753121AbZL3UAb convert rfc822-to-8bit (ORCPT ); Wed, 30 Dec 2009 15:00:31 -0500 Received: from source ([63.240.6.3]) (using TLSv1) by exprod6ob108.postini.com ([64.18.5.12]) with SMTP ID DSNKSzuxXmZDmC0xJ9Dh2gjrLJZjuVSfR4Zw@postini.com; Wed, 30 Dec 2009 12:00:31 PST Received: from d01smtp07.Mi8.com ([172.16.1.114]) by Outbound01.Mi8.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 30 Dec 2009 15:00:29 -0500 Received: from mi8nycmail19.Mi8.com ([172.16.7.219]) by d01smtp07.Mi8.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 30 Dec 2009 15:00:29 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Subject: [PATCH] drivers/media/dvb/dvb-core/dvb_net.c: use %pM to show MAC address Date: Wed, 30 Dec 2009 15:00:31 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] drivers/media/dvb/dvb-core/dvb_net.c: use %pM to show MAC address Thread-Index: AcqJir2+4KpV9iH4StuRyMG0LFGbYQ== From: "H Hartley Sweeten" To: , Cc: "David Miller" X-OriginalArrivalTime: 30 Dec 2009 20:00:29.0534 (UTC) FILETIME=[BC8D27E0:01CA898A] 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; }