summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-generic.c
diff options
context:
space:
mode:
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>2011-02-23 08:11:35 -0500
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-02-23 10:10:34 -0500
commit77c35acb7c81cd94c6b30a3bef488dd2d8145131 (patch)
treededeb89f5905567acdd66ffde0928af4c9bada26 /drivers/ide/ide-generic.c
parent1f169f66ddcc3b4614f840bef367de1ca20e16fe (diff)
downloadblackbird-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/ide/ide-generic.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud