From: Varka Bhadram <var...@cdac.in> It fix the indentation for the switch case as per the kernel coding styles.
Signed-off-by: Varka Bhadram <var...@cdac.in> --- net/ieee802154/header_ops.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/net/ieee802154/header_ops.c b/net/ieee802154/header_ops.c index c09294e..5d6e4d6 100644 --- a/net/ieee802154/header_ops.c +++ b/net/ieee802154/header_ops.c @@ -157,10 +157,14 @@ static int ieee802154_hdr_addr_len(int mode, bool omit_pan) int pan_len = omit_pan ? 0 : 2; switch (mode) { - case IEEE802154_ADDR_NONE: return 0; - case IEEE802154_ADDR_SHORT: return 2 + pan_len; - case IEEE802154_ADDR_LONG: return IEEE802154_ADDR_LEN + pan_len; - default: return -EINVAL; + case IEEE802154_ADDR_NONE: + return 0; + case IEEE802154_ADDR_SHORT: + return 2 + pan_len; + case IEEE802154_ADDR_LONG: + return IEEE802154_ADDR_LEN + pan_len; + default: + return -EINVAL; } } -- 1.7.9.5 ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Linux-zigbee-devel mailing list Linux-zigbee-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel