commit | 5163dc1a645bc9ed7984fa484f1a77378c166d23 | [log] [tgz] |
---|---|---|
author | Marcin Slusarz <marcin.slusarz@gmail.com> | Wed Feb 13 00:06:08 2008 +0100 |
committer | Roland Dreier <rolandd@cisco.com> | Wed Feb 13 07:47:47 2008 -0800 |
tree | 986189b025cacec7e736dae41de4737e05b76df4 | |
parent | 8704e9a8790cc9e394198663c1c9150c899fb9a2 [diff] |
IB/mthca: Convert to use be16_add_cpu() replace: big_endian_variable = cpu_to_beX(beX_to_cpu(big_endian_variable) + expression_in_cpu_byteorder); with: beX_add_cpu(&big_endian_variable, expression_in_cpu_byteorder); Generated with a semantic patch. Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: Sean Hefty <sean.hefty@intel.com> Cc: Hal Rosenstock <hal.rosenstock@gmail.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>