diff options
| author | Dan Carpenter <[email protected]> | 2014-01-23 15:53:45 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-01-23 16:36:53 -0800 |
| commit | 4a102b4d144f0422eb8b0a59c7cb194bf12163a9 (patch) | |
| tree | 8eeb86f4a8af5b267876bf749d959d154ee1b68c /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 0c79a8e29b5fcbcbfd611daf9d500cfad8370fcf (diff) | |
drivers/mailbox/omap: make mbox->irq signed for error handling
There is a bug in omap2_mbox_probe() where we try do:
mbox->irq = platform_get_irq(pdev, info->irq_id);
if (mbox->irq < 0) {
The problem is that mbox->irq is unsigned so the error handling doesn't
work. I've changed it to a signed integer.
Signed-off-by: Dan Carpenter <[email protected]>
Cc: Suman Anna <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Omar Ramirez Luna <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions