Re: [linux-yocto] [PATCH] mousedev: fix warning err caused by __cpu_to_le16p()

2016-07-26 Thread Bruce Ashfield
On 2016-07-26 4:28 AM, Zhenbo Gao wrote: following warning msg is found when compiling the kernel for qemumips: .../drivers/input/mousedev.c:749:15: warning: passing argument 1 of '__cpu_to_le16p' from incompatible pointer type [-Wincompatible-pointer-types] convert the function's parameter to

[linux-yocto] [PATCH] mousedev: fix warning err caused by __cpu_to_le16p()

2016-07-26 Thread Zhenbo Gao
following warning msg is found when compiling the kernel for qemumips: .../drivers/input/mousedev.c:749:15: warning: passing argument 1 of '__cpu_to_le16p' from incompatible pointer type [-Wincompatible-pointer-types] convert the function's parameter to (__u16 *) to fix this warning.