diff options
author | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2013-04-16 14:55:18 (GMT) |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2013-04-16 20:05:13 (GMT) |
commit | 94032c506720e26402db64987e08168565b57990 (patch) | |
tree | d546dec5591a34940ccc7cebdf5362f4ec8fe0db /lib/bcd.c | |
parent | 7918c92ae9638eb8a6ec18e2b4a0de84557cccc8 (diff) | |
download | linux-fsl-qoriq-94032c506720e26402db64987e08168565b57990.tar.xz |
xen/events: Check that IRQ value passed in is valid.
We naively assume that the IRQ value passed in is correct.
If it is not, then any dereference operation for the 'info'
structure will result in crash - so might as well guard ourselves
and sprinkle copious amounts of WARN_ON.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'lib/bcd.c')
0 files changed, 0 insertions, 0 deletions