Re: [PATCH bluetooth-next] ieee802154: cc2520: Replace shift operations by BIT macro
Hi Mohammad, > This patch replaces the shifting operations by BIT macro > > Signed-off-by: Mohammad Jamal > --- > drivers/net/ieee802154/cc2520.c |6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH bluetooth-next] ieee802154: cc2520: Replace shift operations by BIT macro
Hi Mohammad, This patch replaces the shifting operations by BIT macro Signed-off-by: Mohammad Jamal md.jamalmohiud...@gmail.com --- drivers/net/ieee802154/cc2520.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH bluetooth-next] ieee802154: cc2520: Replace shift operations by BIT macro
Hi Jamal, On Friday 23 January 2015 07:28 PM, Mohammad Jamal wrote: This patch replaces the shifting operations by BIT macro Thanks for the patch. Acked-by: Varka Bhadram Signed-off-by: Mohammad Jamal --- drivers/net/ieee802154/cc2520.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ieee802154/cc2520.c b/drivers/net/ieee802154/cc2520.c index 665a3db..181b349 100644 --- a/drivers/net/ieee802154/cc2520.c +++ b/drivers/net/ieee802154/cc2520.c @@ -44,9 +44,9 @@ #define CC2520_FREG_MASK0x3F /* status byte values */ -#defineCC2520_STATUS_XOSC32M_STABLE(1 << 7) -#defineCC2520_STATUS_RSSI_VALID(1 << 6) -#defineCC2520_STATUS_TX_UNDERFLOW (1 << 3) +#defineCC2520_STATUS_XOSC32M_STABLEBIT(7) +#defineCC2520_STATUS_RSSI_VALIDBIT(6) +#defineCC2520_STATUS_TX_UNDERFLOW BIT(3) /* IEEE-802.15.4 defined constants (2.4 GHz logical channels) */ #define CC2520_MINCHANNEL 11 -- Thanks and Regards, Varka Bhadram. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: [PATCH bluetooth-next] ieee802154: cc2520: Replace shift operations by BIT macro
Hi Jamal, On Friday 23 January 2015 07:28 PM, Mohammad Jamal wrote: This patch replaces the shifting operations by BIT macro Thanks for the patch. Acked-by: Varka Bhadram varkabhad...@gmail.com Signed-off-by: Mohammad Jamal md.jamalmohiud...@gmail.com --- drivers/net/ieee802154/cc2520.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ieee802154/cc2520.c b/drivers/net/ieee802154/cc2520.c index 665a3db..181b349 100644 --- a/drivers/net/ieee802154/cc2520.c +++ b/drivers/net/ieee802154/cc2520.c @@ -44,9 +44,9 @@ #define CC2520_FREG_MASK0x3F /* status byte values */ -#defineCC2520_STATUS_XOSC32M_STABLE(1 7) -#defineCC2520_STATUS_RSSI_VALID(1 6) -#defineCC2520_STATUS_TX_UNDERFLOW (1 3) +#defineCC2520_STATUS_XOSC32M_STABLEBIT(7) +#defineCC2520_STATUS_RSSI_VALIDBIT(6) +#defineCC2520_STATUS_TX_UNDERFLOW BIT(3) /* IEEE-802.15.4 defined constants (2.4 GHz logical channels) */ #define CC2520_MINCHANNEL 11 -- Thanks and Regards, Varka Bhadram. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH bluetooth-next] ieee802154: cc2520: Replace shift operations by BIT macro
This patch replaces the shifting operations by BIT macro Signed-off-by: Mohammad Jamal --- drivers/net/ieee802154/cc2520.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ieee802154/cc2520.c b/drivers/net/ieee802154/cc2520.c index 665a3db..181b349 100644 --- a/drivers/net/ieee802154/cc2520.c +++ b/drivers/net/ieee802154/cc2520.c @@ -44,9 +44,9 @@ #defineCC2520_FREG_MASK0x3F /* status byte values */ -#defineCC2520_STATUS_XOSC32M_STABLE(1 << 7) -#defineCC2520_STATUS_RSSI_VALID(1 << 6) -#defineCC2520_STATUS_TX_UNDERFLOW (1 << 3) +#defineCC2520_STATUS_XOSC32M_STABLEBIT(7) +#defineCC2520_STATUS_RSSI_VALIDBIT(6) +#defineCC2520_STATUS_TX_UNDERFLOW BIT(3) /* IEEE-802.15.4 defined constants (2.4 GHz logical channels) */ #defineCC2520_MINCHANNEL 11 -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[PATCH bluetooth-next] ieee802154: cc2520: Replace shift operations by BIT macro
This patch replaces the shifting operations by BIT macro Signed-off-by: Mohammad Jamal md.jamalmohiud...@gmail.com --- drivers/net/ieee802154/cc2520.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ieee802154/cc2520.c b/drivers/net/ieee802154/cc2520.c index 665a3db..181b349 100644 --- a/drivers/net/ieee802154/cc2520.c +++ b/drivers/net/ieee802154/cc2520.c @@ -44,9 +44,9 @@ #defineCC2520_FREG_MASK0x3F /* status byte values */ -#defineCC2520_STATUS_XOSC32M_STABLE(1 7) -#defineCC2520_STATUS_RSSI_VALID(1 6) -#defineCC2520_STATUS_TX_UNDERFLOW (1 3) +#defineCC2520_STATUS_XOSC32M_STABLEBIT(7) +#defineCC2520_STATUS_RSSI_VALIDBIT(6) +#defineCC2520_STATUS_TX_UNDERFLOW BIT(3) /* IEEE-802.15.4 defined constants (2.4 GHz logical channels) */ #defineCC2520_MINCHANNEL 11 -- 1.7.9.5 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/