Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932083Ab2FTKnT (ORCPT ); Wed, 20 Jun 2012 06:43:19 -0400 Received: from mga01.intel.com ([192.55.52.88]:10931 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756054Ab2FTKnS (ORCPT ); Wed, 20 Jun 2012 06:43:18 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208";a="182636159" From: Andrei Emeltchenko To: linux-bluetooth@vger.kernel.org, akpm@linux-foundation.org, linux-kernel@vger.kernel.org Subject: [PATCH] Docs: printk-formats: add description for %pMR Date: Wed, 20 Jun 2012 13:44:49 +0300 Message-Id: <1340189089-20257-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1338210316-12299-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> References: <1338210316-12299-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1246 Lines: 40 From: Andrei Emeltchenko Add information about new specifier %pMR for Bluetooth addresses. Signed-off-by: Andrei Emeltchenko --- Documentation/printk-formats.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/printk-formats.txt b/Documentation/printk-formats.txt index 5df176e..d8d168f 100644 --- a/Documentation/printk-formats.txt +++ b/Documentation/printk-formats.txt @@ -56,6 +56,7 @@ Struct Resources: MAC/FDDI addresses: %pM 00:01:02:03:04:05 + %pMR 05:04:03:02:01:00 %pMF 00-01-02-03-04-05 %pm 000102030405 @@ -67,6 +68,10 @@ MAC/FDDI addresses: the 'M' specifier to use dash ('-') separators instead of the default separator. + For Bluetooth addresses the 'R' specifier shall be used after the 'M' + specifier to use reversed byte order suitable for visual interpretation + of Bluetooth addresses which are in the little endian order. + IPv4 addresses: %pI4 1.2.3.4 -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/