* [PATCH bluetooth-next] cfg802154: fix rdev-ops naming convension and format specifiers
@ 2015-06-03 3:51 Varka Bhadram
2015-06-03 7:00 ` Alexander Aring
2015-06-03 9:34 ` Marcel Holtmann
0 siblings, 2 replies; 3+ messages in thread
From: Varka Bhadram @ 2015-06-03 3:51 UTC (permalink / raw)
To: linux-wpan; +Cc: alex.aring, Varka Bhadram
This patch make to use the same naming convention that mac802154
tracing follows and fixes the format specifier for extended addr.
Signed-off-by: Varka Bhadram <varkab@cdac.in>
---
net/ieee802154/trace.h | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/net/ieee802154/trace.h b/net/ieee802154/trace.h
index 73eb760..9b5f0eb 100644
--- a/net/ieee802154/trace.h
+++ b/net/ieee802154/trace.h
@@ -56,7 +56,7 @@ TRACE_EVENT(802154_rdev_add_virtual_intf,
__entry->type = type;
__entry->extended_addr = extended_addr;
),
- TP_printk(WPAN_PHY_PR_FMT ", virtual intf name: %s, type: %d, ea %llx",
+ TP_printk(WPAN_PHY_PR_FMT ", virtual intf name: %s, type: %d, extended addr: 0x%llx",
WPAN_PHY_PR_ARG, __get_str(vir_intf_name), __entry->type,
__le64_to_cpu(__entry->extended_addr))
);
@@ -104,7 +104,7 @@ TRACE_EVENT(802154_rdev_set_tx_power,
WPAN_PHY_ASSIGN;
__entry->power = power;
),
- TP_printk(WPAN_PHY_PR_FMT ", power: %d", WPAN_PHY_PR_ARG,
+ TP_printk(WPAN_PHY_PR_FMT ", mbm: %d", WPAN_PHY_PR_ARG,
__entry->power)
);
@@ -134,7 +134,7 @@ TRACE_EVENT(802154_rdev_set_cca_ed_level,
WPAN_PHY_ASSIGN;
__entry->ed_level = ed_level;
),
- TP_printk(WPAN_PHY_PR_FMT ", ed_level: %d", WPAN_PHY_PR_ARG,
+ TP_printk(WPAN_PHY_PR_FMT ", ed level: %d", WPAN_PHY_PR_ARG,
__entry->ed_level)
);
@@ -167,7 +167,7 @@ DEFINE_EVENT_PRINT(802154_le16_template, 802154_rdev_set_short_addr,
TP_PROTO(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
__le16 le16arg),
TP_ARGS(wpan_phy, wpan_dev, le16arg),
- TP_printk(WPAN_PHY_PR_FMT ", " WPAN_DEV_PR_FMT ", sa: 0x%04x",
+ TP_printk(WPAN_PHY_PR_FMT ", " WPAN_DEV_PR_FMT ", short addr: 0x%04x",
WPAN_PHY_PR_ARG, WPAN_DEV_PR_ARG,
__le16_to_cpu(__entry->le16arg))
);
@@ -190,7 +190,7 @@ TRACE_EVENT(802154_rdev_set_backoff_exponent,
),
TP_printk(WPAN_PHY_PR_FMT ", " WPAN_DEV_PR_FMT
- ", min be: %d, max_be: %d", WPAN_PHY_PR_ARG,
+ ", min be: %d, max be: %d", WPAN_PHY_PR_ARG,
WPAN_DEV_PR_ARG, __entry->min_be, __entry->max_be)
);
--
1.7.9.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH bluetooth-next] cfg802154: fix rdev-ops naming convension and format specifiers
2015-06-03 3:51 [PATCH bluetooth-next] cfg802154: fix rdev-ops naming convension and format specifiers Varka Bhadram
@ 2015-06-03 7:00 ` Alexander Aring
2015-06-03 9:34 ` Marcel Holtmann
1 sibling, 0 replies; 3+ messages in thread
From: Alexander Aring @ 2015-06-03 7:00 UTC (permalink / raw)
To: Varka Bhadram; +Cc: linux-wpan, Varka Bhadram
On Wed, Jun 03, 2015 at 09:21:47AM +0530, Varka Bhadram wrote:
> This patch make to use the same naming convention that mac802154
> tracing follows and fixes the format specifier for extended addr.
>
> Signed-off-by: Varka Bhadram <varkab@cdac.in>
Acked-by: Alexander Aring <alex.aring@gmail.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH bluetooth-next] cfg802154: fix rdev-ops naming convension and format specifiers
2015-06-03 3:51 [PATCH bluetooth-next] cfg802154: fix rdev-ops naming convension and format specifiers Varka Bhadram
2015-06-03 7:00 ` Alexander Aring
@ 2015-06-03 9:34 ` Marcel Holtmann
1 sibling, 0 replies; 3+ messages in thread
From: Marcel Holtmann @ 2015-06-03 9:34 UTC (permalink / raw)
To: Varka Bhadram; +Cc: linux-wpan, Alexander Aring, Varka Bhadram
Hi Varka,
> This patch make to use the same naming convention that mac802154
> tracing follows and fixes the format specifier for extended addr.
>
> Signed-off-by: Varka Bhadram <varkab@cdac.in>
> ---
> net/ieee802154/trace.h | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-06-03 9:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-03 3:51 [PATCH bluetooth-next] cfg802154: fix rdev-ops naming convension and format specifiers Varka Bhadram
2015-06-03 7:00 ` Alexander Aring
2015-06-03 9:34 ` Marcel Holtmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.