From patchwork Wed Feb 9 07:37:28 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Strakh X-Patchwork-Id: 543041 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p197IqIt018601 for ; Wed, 9 Feb 2011 07:18:52 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751238Ab1BIHSv (ORCPT ); Wed, 9 Feb 2011 02:18:51 -0500 Received: from mail-bw0-f46.google.com ([209.85.214.46]:33376 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750944Ab1BIHSu (ORCPT ); Wed, 9 Feb 2011 02:18:50 -0500 Received: by bwz15 with SMTP id 15so651019bwz.19 for ; Tue, 08 Feb 2011 23:18:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer; bh=Hl8qWhKCBgbZrsmdRNCBckB3rx9mbu5wFOMgukAfPY0=; b=iKzL50RBy4waDgTW1t93Yl33FZvcLVHjQ/rTZ3LGYPGkgm8KUI7lesGAfRYVVLjQ9E nZH61gQVVVL9BdhJ0WIjZQjdvB/mZZaHci3NrvbPdb8e6O+cGRB/RimQrhCqQNC6B/3i /HAuLe5Qu0s5eN0xoFJfNKDxLDB68z+vT8wcw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=aiYhy00T0QYeDDAivS06ys+3xs4KdY3ZBO/eOQtY0QRT8ZT7YIHgyxVkfaHhLQVXDP 5SLeK/p1a2ubRdTIPbuPEAqMMkU/JUI7RmPi7eAj7mcQL3CDQxBdPGez1XR2IprHpOHy weJZTMgreTR3SFdmkhKfBQkI37b8kmRMCBNIU= Received: by 10.204.76.145 with SMTP id c17mr9194172bkk.52.1297235929194; Tue, 08 Feb 2011 23:18:49 -0800 (PST) Received: from pamir.intra.ispras.ru (winnie.ispras.ru [83.149.198.236]) by mx.google.com with ESMTPS id v25sm142970bkt.6.2011.02.08.23.18.46 (version=SSLv3 cipher=OTHER); Tue, 08 Feb 2011 23:18:47 -0800 (PST) From: Alexander Strakh To: dmitry.torokhov@gmail.com Cc: rydberg@euromail.se, oneukum@suse.de, oblivian@users.sourceforge.net, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Alexander Strakh , Alexander Strakh Subject: [PATCH 1/1] Fix error path in wacom_probe Date: Wed, 9 Feb 2011 10:37:28 +0300 Message-Id: <1297237048-32714-1-git-send-email-strakh@ispras.ru> X-Mailer: git-send-email 1.7.1 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 09 Feb 2011 07:18:52 +0000 (UTC) diff --git a/drivers/input/tablet/wacom_sys.c b/drivers/input/tablet/wacom_sys.c index fc38149..cf8fb9f 100644 --- a/drivers/input/tablet/wacom_sys.c +++ b/drivers/input/tablet/wacom_sys.c @@ -519,7 +519,7 @@ static int wacom_probe(struct usb_interface *intf, const struct usb_device_id *i /* Retrieve the physical and logical size for OEM devices */ error = wacom_retrieve_hid_descriptor(intf, features); if (error) - goto fail2; + goto fail3; wacom_setup_device_quirks(features);