From owner-svn-src-stable@FreeBSD.ORG Fri Nov 19 01:47:09 2010 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BCCA1065674; Fri, 19 Nov 2010 01:47:09 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 4B37B8FC14; Fri, 19 Nov 2010 01:47:09 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id oAJ1l9EY052912; Fri, 19 Nov 2010 01:47:09 GMT (envelope-from thompsa@svn.freebsd.org) Received: (from thompsa@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id oAJ1l9UC052910; Fri, 19 Nov 2010 01:47:09 GMT (envelope-from thompsa@svn.freebsd.org) Message-Id: <201011190147.oAJ1l9UC052910@svn.freebsd.org> From: Andrew Thompson Date: Fri, 19 Nov 2010 01:47:09 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r215498 - stable/8/sys/dev/usb/input X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2010 01:47:09 -0000 Author: thompsa Date: Fri Nov 19 01:47:09 2010 New Revision: 215498 URL: http://svn.freebsd.org/changeset/base/215498 Log: MFC r212132 Fix UMS_BUTTON_MAX define name Modified: stable/8/sys/dev/usb/input/ums.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) Modified: stable/8/sys/dev/usb/input/ums.c ============================================================================== --- stable/8/sys/dev/usb/input/ums.c Fri Nov 19 01:46:33 2010 (r215497) +++ stable/8/sys/dev/usb/input/ums.c Fri Nov 19 01:47:09 2010 (r215498) @@ -487,7 +487,7 @@ ums_hid_parse(struct ums_softc *sc, devi /* detect other buttons */ - for (j = 0; (i < UMS_BUTTONS_MAX) && (j < 2); i++, j++) { + for (j = 0; (i < UMS_BUTTON_MAX) && (j < 2); i++, j++) { if (!hid_locate(buf, len, HID_USAGE2(HUP_MICROSOFT, (j + 1)), hid_input, index, &info->sc_loc_btn[i], NULL, &info->sc_iid_btn[i])) {