From owner-svn-src-head@FreeBSD.ORG Tue Nov 13 06:03:44 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 272245DF; Tue, 13 Nov 2012 06:03:44 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 07CB68FC16; Tue, 13 Nov 2012 06:03:44 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qAD63hjL094235; Tue, 13 Nov 2012 06:03:43 GMT (envelope-from kevlo@svn.freebsd.org) Received: (from kevlo@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qAD63h37094234; Tue, 13 Nov 2012 06:03:43 GMT (envelope-from kevlo@svn.freebsd.org) Message-Id: <201211130603.qAD63h37094234@svn.freebsd.org> From: Kevin Lo Date: Tue, 13 Nov 2012 06:03:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r242948 - head/sys/dev/adb X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2012 06:03:44 -0000 Author: kevlo Date: Tue Nov 13 06:03:43 2012 New Revision: 242948 URL: http://svnweb.freebsd.org/changeset/base/242948 Log: Use uiomove return value instead of returning 0. Modified: head/sys/dev/adb/adb_mouse.c Modified: head/sys/dev/adb/adb_mouse.c ============================================================================== --- head/sys/dev/adb/adb_mouse.c Tue Nov 13 05:58:52 2012 (r242947) +++ head/sys/dev/adb/adb_mouse.c Tue Nov 13 06:03:43 2012 (r242948) @@ -569,9 +569,9 @@ ams_read(struct cdev *dev, struct uio *u mtx_unlock(&sc->sc_mtx); - uiomove(outpacket,len,uio); + error = uiomove(outpacket,len,uio); - return (0); + return (error); }