aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2012-07-20 10:32:29 -0700
committerGreg Kroah-Hartman <[email protected]>2012-08-07 17:14:53 -0700
commit325a01f38d8e443b9a10a84606740cf570efddd1 (patch)
treedfc7578baef622bcd311d2bd16da489ab3289786 /tools/perf/util/scripting-engines/trace-event-python.c
parent7e8401b23e7fd4f585b0fcb62d0895487d5f11d6 (diff)
staging: comedi: daqboard2000: ioremap'ed addresses are resource_size_t
As mentioned by Ian Abbott, the pci address passed to ioremap should be a resource_size_t not an unsigned long. Use a local variable of that type to hold the pci_resource_start() that is passed to ioremp(). Set the dev->iobase to a dummy non-zero value so that the "detach" can use it as a flag to know that comedi_pci_disable() needs to be called. Reported-by: Ian Abbott <[email protected]> Signed-off-by: H Hartley Sweeten <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions