summaryrefslogtreecommitdiffstats
path: root/ipc/sem.c
diff options
context:
space:
mode:
authorReinette Chatre <reinette.chatre@intel.com>2009-10-02 22:44:07 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-10-07 22:33:50 +0200
commit886e71de1f889adadb1065b1a83b0e64625fb716 (patch)
tree52f2f299e2c3090a1f2913f0bfa608a8210f4972 /ipc/sem.c
parentiwlwifi: fix compile warning (diff)
downloadlinux-886e71de1f889adadb1065b1a83b0e64625fb716.tar.xz
linux-886e71de1f889adadb1065b1a83b0e64625fb716.zip
iwlagn: fix compile warning in iwl5000_gain_computation
The return type of abs() was recently changed from int to long. With min()'s type checking we thus need to make sure that values of the same type are compared. This fixes: CC [M] drivers/net/wireless/iwlwifi/iwl-5000.o drivers/net/wireless/iwlwifi/iwl-5000.c: In function ‘iwl5000_gain_computation’: drivers/net/wireless/iwlwifi/iwl-5000.c:320: warning: comparison of distinct pointer types lacks a cast Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Reported-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'ipc/sem.c')
0 files changed, 0 insertions, 0 deletions