]> git.baikalelectronics.ru Git - kernel.git/commit
staging/ozwpan: coding style __constant_
authorJérôme Pinot <ngc891@gmail.com>
Thu, 13 Mar 2014 01:20:55 +0000 (10:20 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Mar 2014 02:34:16 +0000 (02:34 +0000)
commit30ca8b530d1dee2765a7a4d022ca8aa518999c4e
tree7739d87924a481a720a947bef4361312166daba9
parent97fae2020f3907709fa67f0e86fd1a857f9ef26c
staging/ozwpan: coding style __constant_

This fixes the following issues detected by checkpatch.pl:

 WARNING: __constant_cpu_to_le16 should be cpu_to_le16
 #1991: FILE: drivers/staging/ozwpan/ozhcd.c:1991:
 +                      __constant_cpu_to_le16(0x0001);

 WARNING: __constant_cpu_to_le32 should be cpu_to_le32
 #2185: FILE: drivers/staging/ozwpan/ozhcd.c:2185:
 +              put_unaligned(__constant_cpu_to_le32(0), (__le32 *)buf);

 WARNING: __constant_htons should be htons
 #675: FILE: drivers/staging/ozwpan/ozproto.c:675:
 +      binding->ptype.type = __constant_htons(OZ_ETHERTYPE);

Signed-off-by: Jerome Pinot <ngc891@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ozwpan/ozhcd.c
drivers/staging/ozwpan/ozproto.c