ieee802154: trivial fixes
Subsystems (5)
Alexander Aring
maintainercover ieee802154: trivial fixes
This patch series contains checkpatch fixes and typos for the ieee802154/mac802154 branch.
Alexander Aring (6):
ieee802154: mac802154: remove FSF address
ieee802154: ieee802154_dev: fix align typo
mac802154: fix typo IEEE802515 to IEEE802154
ieee802154: wpan-phy: change to __aligned(size)
ieee802154: wpan-phy: use blank line after function
ieee802154: wpan-class: fix trailing semicolon
drivers/net/ieee802154/at86rf230.c | 12 ++++-------- drivers/net/ieee802154/cc2520.c | 8 ++++---- drivers/net/ieee802154/fakelb.c | 4 ---- drivers/net/ieee802154/mrf24j40.c | 12 ++++-------- include/linux/nl802154.h | 4 ---- include/net/af_ieee802154.h | 4 ---- include/net/ieee802154.h | 4 ---- include/net/ieee802154_netdev.h | 4 ---- include/net/mac802154.h | 11 ++++------- include/net/nl802154.h | 4 ---- include/net/wpan-phy.h | 7 ++----- net/ieee802154/af802154.h | 4 ---- net/ieee802154/af_ieee802154.c | 4 ---- net/ieee802154/dgram.c | 4 ---- net/ieee802154/ieee802154.h | 4 ---- net/ieee802154/netlink.c | 4 ---- net/ieee802154/nl-mac.c | 4 ---- net/ieee802154/nl-phy.c | 4 ---- net/ieee802154/nl_policy.c | 4 ---- net/ieee802154/raw.c | 4 ---- net/ieee802154/wpan-class.c | 6 +----- net/mac802154/ieee802154_dev.c | 6 +----- net/mac802154/mac802154.h | 4 ---- net/mac802154/mac_cmd.c | 4 ---- net/mac802154/mib.c | 10 +++------- net/mac802154/monitor.c | 4 ---- net/mac802154/rx.c | 4 ---- net/mac802154/tx.c | 4 ---- net/mac802154/wpan.c | 4 ---- 29 files changed, 23 insertions(+), 133 deletions(-)
Signature · 1 line
2.1.2
Alexander Aring
maintainerPATCH 1/6 ieee802154: mac802154: remove FSF address
This patch removes the FSF address in files which belongs to ieee802154 and mac802154.
--- drivers/net/ieee802154/at86rf230.c | 4 ---- drivers/net/ieee802154/fakelb.c | 4 ---- drivers/net/ieee802154/mrf24j40.c | 4 ---- include/linux/nl802154.h | 4 ---- include/net/af_ieee802154.h | 4 ---- include/net/ieee802154.h | 4 ---- include/net/ieee802154_netdev.h | 4 ---- include/net/mac802154.h | 3 --- include/net/nl802154.h | 4 ---- include/net/wpan-phy.h | 4 ---- net/ieee802154/af802154.h | 4 ---- net/ieee802154/af_ieee802154.c | 4 ---- net/ieee802154/dgram.c | 4 ---- net/ieee802154/ieee802154.h | 4 ---- net/ieee802154/netlink.c | 4 ---- net/ieee802154/nl-mac.c | 4 ---- net/ieee802154/nl-phy.c | 4 ---- net/ieee802154/nl_policy.c | 4 ---- net/ieee802154/raw.c | 4 ---- net/ieee802154/wpan-class.c | 4 ---- net/mac802154/ieee802154_dev.c | 4 ---- net/mac802154/mac802154.h | 4 ---- net/mac802154/mac_cmd.c | 4 ---- net/mac802154/mib.c | 4 ---- net/mac802154/monitor.c | 4 ---- net/mac802154/rx.c | 4 ---- net/mac802154/tx.c | 4 ---- net/mac802154/wpan.c | 4 ---- 28 files changed, 111 deletions(-)
drivers/net/ieee802154/at86rf230.c +0 -4
@@ -12,10 +12,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* * Written by: * Dmitry Eremin-Solenikov <[email protected]> * Alexander Smirnov <[email protected]>
drivers/net/ieee802154/fakelb.c +0 -4
@@ -12,10 +12,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* * Written by: * Sergey Lapin <[email protected]> * Dmitry Eremin-Solenikov <[email protected]>
drivers/net/ieee802154/mrf24j40.c +0 -4
@@ -13,10 +13,6 @@* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with this program; if not, write to the Free Software -* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <linux/spi/spi.h>
include/linux/nl802154.h +0 -4
@@ -12,10 +12,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* */ #ifndef NL802154_H
include/net/af_ieee802154.h +0 -4
@@ -12,10 +12,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* * Written by: * Sergey Lapin <[email protected]> * Dmitry Eremin-Solenikov <[email protected]>
include/net/ieee802154.h +0 -4
@@ -12,10 +12,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* * Written by: * Pavel Smolenskiy <[email protected]> * Maxim Gorbachyov <[email protected]>
include/net/ieee802154_netdev.h +0 -4
@@ -12,10 +12,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* * Written by: * Pavel Smolenskiy <[email protected]> * Maxim Gorbachyov <[email protected]>
include/net/mac802154.h +0 -3
@@ -12,9 +12,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef NET_MAC802154_H #define NET_MAC802154_H
include/net/nl802154.h +0 -4
@@ -12,10 +12,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* */ #ifndef IEEE802154_NL_H
include/net/wpan-phy.h +0 -4
@@ -10,10 +10,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* * Written by: * Dmitry Eremin-Solenikov <[email protected]> */
net/ieee802154/af802154.h +0 -4
@@ -12,10 +12,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* * Written by: * Sergey Lapin <[email protected]> * Dmitry Eremin-Solenikov <[email protected]>
net/ieee802154/af_ieee802154.c +0 -4
@@ -12,10 +12,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* * Written by: * Sergey Lapin <[email protected]> * Maxim Gorbachyov <[email protected]>
net/ieee802154/dgram.c +0 -4
@@ -12,10 +12,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* * Written by: * Sergey Lapin <[email protected]> * Dmitry Eremin-Solenikov <[email protected]>
net/ieee802154/ieee802154.h +0 -4
@@ -10,10 +10,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* */ #ifndef IEEE_802154_LOCAL_H #define IEEE_802154_LOCAL_H
net/ieee802154/netlink.c +0 -4
@@ -12,10 +12,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* * Written by: * Sergey Lapin <[email protected]> * Dmitry Eremin-Solenikov <[email protected]>
net/ieee802154/nl-mac.c +0 -4
@@ -12,10 +12,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* * Written by: * Sergey Lapin <[email protected]> * Dmitry Eremin-Solenikov <[email protected]>
net/ieee802154/nl-phy.c +0 -4
@@ -12,10 +12,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* * Written by: * Sergey Lapin <[email protected]> * Dmitry Eremin-Solenikov <[email protected]>
net/ieee802154/nl_policy.c +0 -4
@@ -12,10 +12,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* */ #include <linux/kernel.h>
net/ieee802154/raw.c +0 -4
@@ -12,10 +12,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* * Written by: * Sergey Lapin <[email protected]> * Dmitry Eremin-Solenikov <[email protected]>
net/ieee802154/wpan-class.c +0 -4
@@ -10,10 +10,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* */ #include <linux/slab.h>
net/mac802154/ieee802154_dev.c +0 -4
@@ -14,10 +14,6 @@* but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include <linux/kernel.h>
net/mac802154/mac802154.h +0 -4
@@ -10,10 +10,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* * Written by: * Pavel Smolenskiy <[email protected]> * Maxim Gorbachyov <[email protected]>
net/mac802154/mac_cmd.c +0 -4
@@ -12,10 +12,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* * Written by: * Sergey Lapin <[email protected]> * Dmitry Eremin-Solenikov <[email protected]>
net/mac802154/mib.c +0 -4
@@ -10,10 +10,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* * Written by: * Dmitry Eremin-Solenikov <[email protected]> * Sergey Lapin <[email protected]>
net/mac802154/monitor.c +0 -4
@@ -10,10 +10,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* * Written by: * Dmitry Eremin-Solenikov <[email protected]> * Sergey Lapin <[email protected]>
net/mac802154/rx.c +0 -4
@@ -10,10 +10,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* * Written by: * Pavel Smolenskiy <[email protected]> * Maxim Gorbachyov <[email protected]>
net/mac802154/tx.c +0 -4
@@ -10,10 +10,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* * Written by: * Dmitry Eremin-Solenikov <[email protected]> * Sergey Lapin <[email protected]>
net/mac802154/wpan.c +0 -4
@@ -10,10 +10,6 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -* * Written by: * Dmitry Eremin-Solenikov <[email protected]> * Sergey Lapin <[email protected]>
Signature · 1 line
2.1.2
Alexander Aring
maintainerPATCH 2/6 ieee802154: ieee802154_dev: fix align typo
In reply to Alexander AringThis patch fix a typo and fix align instead allign.
--- net/mac802154/ieee802154_dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/mac802154/ieee802154_dev.c +1 -1
@@ -263,7 +263,7 @@ ieee802154_alloc_device(size_t priv_data_len, struct ieee802154_ops *ops)* +-----------------------+ * * Due to ieee802154 layer isn't aware of driver and MAC structures, -* so lets allign them here. +* so lets align them here. */ priv_size =ALIGN (sizeof (*priv),NETDEV_ALIGN ) + priv_data_len;
Signature · 1 line
2.1.2
Alexander Aring
maintainerPATCH 3/6 mac802154: fix typo IEEE802515 to IEEE802154
In reply to Alexander AringThis patch fixs a typo in address filter defines from IEEE802515 to IEEE802154.
--- drivers/net/ieee802154/at86rf230.c | 8 ++++---- drivers/net/ieee802154/cc2520.c | 8 ++++---- drivers/net/ieee802154/mrf24j40.c | 8 ++++---- include/net/mac802154.h | 8 ++++---- net/mac802154/mib.c | 6 +++--- 5 files changed, 19 insertions(+), 19 deletions(-)
drivers/net/ieee802154/at86rf230.c +4 -4
@@ -1097,7 +1097,7 @@ at86rf230_set_hw_addr_filt(struct ieee802154_dev *dev, {struct at86rf230_local *lp = dev->priv; -if (changed &IEEE802515_AFILT_SADDR_CHANGED ) { +if (changed &IEEE802154_AFILT_SADDR_CHANGED ) {u16 addr =le16_to_cpu (filt->short_addr); dev_vdbg(&lp->spi->dev,
@@ -1106,7 +1106,7 @@ at86rf230_set_hw_addr_filt(struct ieee802154_dev *dev,__at86rf230_write (lp,RG_SHORT_ADDR_1 , addr >>8 ); } -if (changed &IEEE802515_AFILT_PANID_CHANGED ) { +if (changed &IEEE802154_AFILT_PANID_CHANGED ) {u16 pan =le16_to_cpu (filt->pan_id); dev_vdbg(&lp->spi->dev,
@@ -1115,7 +1115,7 @@ at86rf230_set_hw_addr_filt(struct ieee802154_dev *dev,__at86rf230_write (lp,RG_PAN_ID_1 , pan >>8 ); } -if (changed &IEEE802515_AFILT_IEEEADDR_CHANGED ) { +if (changed &IEEE802154_AFILT_IEEEADDR_CHANGED ) {u8 i, addr[8 ];memcpy (addr, &filt->ieee_addr,8 );
@@ -1125,7 +1125,7 @@ at86rf230_set_hw_addr_filt(struct ieee802154_dev *dev,__at86rf230_write (lp,RG_IEEE_ADDR_0 + i, addr[i]); } -if (changed &IEEE802515_AFILT_PANC_CHANGED ) { +if (changed &IEEE802154_AFILT_PANC_CHANGED ) {dev_vdbg (&lp->spi->dev,"at86rf230_set_hw_addr_filt called for panc change\n" );if (filt->pan_coord)
drivers/net/ieee802154/cc2520.c +4 -4
@@ -593,7 +593,7 @@ cc2520_filter(struct ieee802154_dev *dev, {struct cc2520_private *priv = dev->priv; -if (changed &IEEE802515_AFILT_PANID_CHANGED ) { +if (changed &IEEE802154_AFILT_PANID_CHANGED ) {u16 panid =le16_to_cpu (filt->pan_id); dev_vdbg(&priv->spi->dev,
@@ -602,7 +602,7 @@ cc2520_filter(struct ieee802154_dev *dev, sizeof(panid), (u8 *)&panid); } -if (changed &IEEE802515_AFILT_IEEEADDR_CHANGED ) { +if (changed &IEEE802154_AFILT_IEEEADDR_CHANGED ) {dev_vdbg (&priv->spi->dev,"cc2520_filter called for IEEE addr\n" ); cc2520_write_ram(priv, CC2520RAM_IEEEADDR,
@@ -610,7 +610,7 @@ cc2520_filter(struct ieee802154_dev *dev, (u8 *)&filt->ieee_addr); } -if (changed &IEEE802515_AFILT_SADDR_CHANGED ) { +if (changed &IEEE802154_AFILT_SADDR_CHANGED ) {u16 addr =le16_to_cpu (filt->short_addr); dev_vdbg(&priv->spi->dev,
@@ -619,7 +619,7 @@ cc2520_filter(struct ieee802154_dev *dev, sizeof(addr), (u8 *)&addr); } -if (changed &IEEE802515_AFILT_PANC_CHANGED ) { +if (changed &IEEE802154_AFILT_PANC_CHANGED ) {dev_vdbg (&priv->spi->dev,"cc2520_filter called for panc change\n" );if (filt->pan_coord)
drivers/net/ieee802154/mrf24j40.c +4 -4
@@ -462,7 +462,7 @@ static int mrf24j40_filter(struct ieee802154_dev *dev,dev_dbg (printdev (devrec),"filter\n" ); -if (changed &IEEE802515_AFILT_SADDR_CHANGED ) { +if (changed &IEEE802154_AFILT_SADDR_CHANGED ) {/* Short Addr */ u8 addrh, addrl;
@@ -475,7 +475,7 @@ static int mrf24j40_filter(struct ieee802154_dev *dev, "Set short addr to %04hx\n", filt->short_addr); } -if (changed &IEEE802515_AFILT_IEEEADDR_CHANGED ) { +if (changed &IEEE802154_AFILT_IEEEADDR_CHANGED ) {/* Device Address */ u8 i, addr[8 ];
@@ -491,7 +491,7 @@ static int mrf24j40_filter(struct ieee802154_dev *dev,#endif } -if (changed &IEEE802515_AFILT_PANID_CHANGED ) { +if (changed &IEEE802154_AFILT_PANID_CHANGED ) {/* PAN ID */ u8 panidl, panidh;
@@ -503,7 +503,7 @@ static int mrf24j40_filter(struct ieee802154_dev *dev,dev_dbg (printdev (devrec),"Set PANID to %04hx\n" , filt->pan_id); } -if (changed &IEEE802515_AFILT_PANC_CHANGED ) { +if (changed &IEEE802154_AFILT_PANC_CHANGED ) {/* Pan Coordinator */ u8 val;int ret;
include/net/mac802154.h +4 -4
@@ -32,13 +32,13 @@*/ /* indicates that the Short Address changed */ -#define IEEE802515_AFILT_SADDR_CHANGED 0x00000001 +#define IEEE802154_AFILT_SADDR_CHANGED 0x00000001/* indicates that the IEEE Address changed */ -#define IEEE802515_AFILT_IEEEADDR_CHANGED 0x00000002 +#define IEEE802154_AFILT_IEEEADDR_CHANGED 0x00000002/* indicates that the PAN ID changed */ -#define IEEE802515_AFILT_PANID_CHANGED 0x00000004 +#define IEEE802154_AFILT_PANID_CHANGED 0x00000004/* indicates that PAN Coordinator status changed */ -#define IEEE802515_AFILT_PANC_CHANGED 0x00000008 +#define IEEE802154_AFILT_PANC_CHANGED 0x00000008struct ieee802154_hw_addr_filt {__le16 pan_id;/* Each independent PAN selects a unique
net/mac802154/mib.c +3 -3
@@ -89,7 +89,7 @@ void mac802154_dev_set_short_addr(struct net_device *dev, __le16 val)if ((priv->hw->ops->set_hw_addr_filt) && (priv->hw->hw.hw_filt.short_addr != priv->short_addr)) { priv->hw->hw.hw_filt.short_addr = priv->short_addr; -set_hw_addr_filt (dev,IEEE802515_AFILT_SADDR_CHANGED ); +set_hw_addr_filt (dev,IEEE802154_AFILT_SADDR_CHANGED ); } }
@@ -117,7 +117,7 @@ void mac802154_dev_set_ieee_addr(struct net_device *dev)if (mac->ops->set_hw_addr_filt && mac->hw.hw_filt.ieee_addr != priv->extended_addr) { mac->hw.hw_filt.ieee_addr = priv->extended_addr; -set_hw_addr_filt (dev,IEEE802515_AFILT_IEEEADDR_CHANGED ); +set_hw_addr_filt (dev,IEEE802154_AFILT_IEEEADDR_CHANGED ); } }
@@ -148,7 +148,7 @@ void mac802154_dev_set_pan_id(struct net_device *dev, __le16 val)if ((priv->hw->ops->set_hw_addr_filt) && (priv->hw->hw.hw_filt.pan_id != priv->pan_id)) { priv->hw->hw.hw_filt.pan_id = priv->pan_id; -set_hw_addr_filt (dev,IEEE802515_AFILT_PANID_CHANGED ); +set_hw_addr_filt (dev,IEEE802154_AFILT_PANID_CHANGED ); } }
Signature · 1 line
2.1.2
Alexander Aring
maintainerPATCH 4/6 ieee802154: wpan-phy: change to __aligned(size)
In reply to Alexander AringThis patch fix a checkpatch warning that __aligned(size) is preferred over __attribute__((aligned(size))).
--- include/net/wpan-phy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/net/wpan-phy.h +1 -1
@@ -65,7 +65,7 @@ struct wpan_phy { u8 retries);int (*set_frame_retries)(struct wpan_phy *phy,s8 retries); - char priv[0] __attribute__((__aligned__(NETDEV_ALIGN))); +char priv[0 ]__aligned(NETDEV_ALIGN) ; };#define to_phy (_dev) container_of(_dev, struct wpan_phy, dev)
Signature · 1 line
2.1.2
Alexander Aring
maintainerPATCH 5/6 ieee802154: wpan-phy: use blank line after function
In reply to Alexander AringThis patch adds a blank line after function declaration.
--- include/net/wpan-phy.h | 1 + 1 file changed, 1 insertion(+)
include/net/wpan-phy.h +1 -0
@@ -75,6 +75,7 @@ static inline void wpan_phy_set_dev(struct wpan_phy *phy, struct device *dev) { phy->dev.parent = dev; } +int wpan_phy_register (struct wpan_phy *phy);void wpan_phy_unregister (struct wpan_phy *phy);void wpan_phy_free (struct wpan_phy *phy);
Signature · 1 line
2.1.2
Alexander Aring
maintainerPATCH 6/6 ieee802154: wpan-class: fix trailing semicolon
In reply to Alexander AringThis patch removes an unnecessary tailing semicolon after macro define. Otherwise we get a trailing semicolon while using this macro.
--- net/ieee802154/wpan-class.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/ieee802154/wpan-class.c +1 -1
@@ -33,7 +33,7 @@ static ssize_t name ## _show(struct device *dev, \mutex_unlock (&phy->pib_lock); \return ret; \ } \ -static DEVICE_ATTR_RO (name); +static DEVICE_ATTR_RO(name)#define MASTER_SHOW (field, format_string) \ MASTER_SHOW_COMPLEX(field, format_string, phy->field)
Signature · 1 line
2.1.2
Hi Alex,
Quoted 33 lines
This patch series contains checkpatch fixes and typos for the ieee802154/mac802154 branch.
Alexander Aring (6):
ieee802154: mac802154: remove FSF address
ieee802154:ieee802154_dev: fix align typo
mac802154: fix typo IEEE802515 to IEEE802154
ieee802154: wpan-phy: change to__aligned(size)
ieee802154: wpan-phy: use blank line after function
ieee802154: wpan-class: fix trailing semicolondrivers/net/ieee802154/at86rf230.c | 12 ++++-------- drivers/net/ieee802154/cc2520.c | 8 ++++---- drivers/net/ieee802154/fakelb.c | 4 ---- drivers/net/ieee802154/mrf24j40.c | 12 ++++-------- include/linux/nl802154.h | 4 ---- include/net/af_ieee802154.h | 4 ---- include/net/ieee802154.h | 4 ---- include/net/ieee802154_netdev.h | 4 ---- include/net/mac802154.h | 11 ++++------- include/net/nl802154.h | 4 ---- include/net/wpan-phy.h | 7 ++----- net/ieee802154/af802154.h | 4 ---- net/ieee802154/af_ieee802154.c | 4 ---- net/ieee802154/dgram.c | 4 ---- net/ieee802154/ieee802154.h | 4 ---- net/ieee802154/netlink.c | 4 ---- net/ieee802154/nl-mac.c | 4 ---- net/ieee802154/nl-phy.c | 4 ---- net/ieee802154/nl_policy.c | 4 ---- net/ieee802154/raw.c | 4 ---- net/ieee802154/wpan-class.c | 6 +----- net/mac802154/ieee802154_dev.c | 6 +-----
Quoted 8 lines
net/mac802154/mac802154.h | 4 ---- net/mac802154/mac_cmd.c | 4 ---- net/mac802154/mib.c | 10 +++------- net/mac802154/monitor.c | 4 ---- net/mac802154/rx.c | 4 ---- net/mac802154/tx.c | 4 ---- net/mac802154/wpan.c | 4 ---- 29 files changed, 23 insertions(+), 133 deletions(-)
all 6 patches have been applied to bluetooth-next tree.
Regards
Marcel