diff options
| author | Michael Zoran <mzoran@crowfest.net> | 2016-11-01 18:21:14 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-07 13:04:10 +0300 |
| commit | 2ea15699281e81960cc4daadff4d325a1c94bf09 (patch) | |
| tree | 3ecf6864350ec478de7f81f8df712ed5220be6a9 /include/linux/debugobjects.h | |
| parent | 49bec49fd7f273ec114e2e533c1bb8f21a654aaf (diff) | |
| download | linux-2ea15699281e81960cc4daadff4d325a1c94bf09.tar.xz | |
staging: vc04_services: parse_rx_slots() - Fix compiler warning
vc04_services contains a debug logging mechanism. The log is
maintained in a shared memory area between the kernel and the
firmware. Changing the sizes of the data in this area would
require a firmware change which is distributed independently
from the kernel binary.
One of the items logged is the address of received messages.
This address is a pointer, but the debugging slot used to store
the information is a 32 bit integer.
Luckily, this value is never interpreted by anything other
then debug tools and it is expected that a human debugging
the kernel interpret it.
This change adds a cast to long before the original cast
to int to silence the warning.
Signed-off-by: Michael Zoran <mzoran@crowfest.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
