diff options
| author | 2011-04-20 07:13:51 +0000 | |
|---|---|---|
| committer | 2011-04-20 07:13:51 +0000 | |
| commit | 6f1afc579a35cd5399a0777d03d9cc7c97a331f3 (patch) | |
| tree | 0a1559fd8f0f6c63679f8d19c6e291ffbb927069 /usr.bin/cvs/commit.c | |
| parent | Potential NULL deref in an error case spotted by chl on one copy; (diff) | |
| download | wireguard-openbsd-6f1afc579a35cd5399a0777d03d9cc7c97a331f3.tar.xz wireguard-openbsd-6f1afc579a35cd5399a0777d03d9cc7c97a331f3.zip | |
Interrupt handlers should only return 1 if they did some work. The
intrstat on arc may have other status bits set which are masked as
interrupt cause and not handled by our driver. So the intrstat ==
0 check does not work reliably. It is better to do use a variable
that is set to 1 when work is done and the cause is cleared.
This makes arc(4) behave on systems where interrupts are shared.
OK deraadt@ dlg@
Diffstat (limited to 'usr.bin/cvs/commit.c')
0 files changed, 0 insertions, 0 deletions
