]> git.baikalelectronics.ru Git - kernel.git/commit
wil6210: fix warning in pointer arithmetic
authorVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Mon, 1 Dec 2014 13:35:27 +0000 (15:35 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 1 Dec 2014 20:57:23 +0000 (15:57 -0500)
commit1a4bacd566690e66763c8a7352a93734802cdb5c
tree97f896eeb86ccc4f26ef4b64a64184ab4d0e6487
parentbba765ed5d83be1aa6626c6886a883546364eb37
wil6210: fix warning in pointer arithmetic

In some compilation environments, result of pointer arithmetic interpreted as int
while in others it is long int. Force conversion to long.

Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/wil6210/fw_inc.c