Blackfin: kgdb: fix up error return values
authorMike Frysinger <vapier@gentoo.org>
Thu, 4 Jun 2009 17:28:16 +0000 (17:28 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 12 Jun 2009 10:12:06 +0000 (06:12 -0400)
commit11aca0e7352b6a28193221cd2dd85f758fb71b23
treed9c502423099ba27cd88ac39a52492bfe62a70f6
parenta43b739f257fd2569e11c6c93fbb86df382848e9
Blackfin: kgdb: fix up error return values

The Blackfin kgdb code was all passing back positive errno values when it
really should have been using negative errno values.

Reported-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/kgdb.c