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)
commitc632824ef26bb27e51518242650bf4195a33ae63
tree7739d87924a481a720a947bef4361312166daba9
parent9b6f0c4b98171f2a354e1e461fefa90ec2baafa6
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
This page took 0.024339 seconds and 5 git commands to generate.