diff options
author | Daniel De Graaf <dgdegra@tycho.nsa.gov> | 2011-02-23 08:11:35 -0500 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-02-23 10:10:34 -0500 |
commit | 77c35acb7c81cd94c6b30a3bef488dd2d8145131 (patch) | |
tree | dedeb89f5905567acdd66ffde0928af4c9bada26 /drivers/firewire/sbp2.c | |
parent | 1f169f66ddcc3b4614f840bef367de1ca20e16fe (diff) | |
download | blackbird-op-linux-77c35acb7c81cd94c6b30a3bef488dd2d8145131.tar.gz blackbird-op-linux-77c35acb7c81cd94c6b30a3bef488dd2d8145131.zip |
xen-gntdev: Fix incorrect use of zero handle
The handle with numeric value 0 is a valid map handle, so it cannot
be used to indicate that a page has not been mapped. Use -1 instead.
Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/firewire/sbp2.c')
0 files changed, 0 insertions, 0 deletions