From patchwork Fri Dec 2 06:22:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jassi Brar X-Patchwork-Id: 86242 Delivered-To: patch@linaro.org Received: by 10.140.20.101 with SMTP id 92csp119692qgi; Thu, 1 Dec 2016 22:22:48 -0800 (PST) X-Received: by 10.99.232.21 with SMTP id s21mr76596099pgh.19.1480659768535; Thu, 01 Dec 2016 22:22:48 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 197si3827735pfy.74.2016.12.01.22.22.48; Thu, 01 Dec 2016 22:22:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-usb-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: best guess record for domain of linux-usb-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755187AbcLBGWq (ORCPT + 4 others); Fri, 2 Dec 2016 01:22:46 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:34649 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753332AbcLBGWq (ORCPT ); Fri, 2 Dec 2016 01:22:46 -0500 Received: by mail-pg0-f65.google.com with SMTP id e9so6912466pgc.1 for ; Thu, 01 Dec 2016 22:22:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=tjOQydZZToVBPA3dgfmFuqHvEtzqq9x+Ho+pX9FvvMs=; b=DrJdoBMMkSuSyn+bzrHEVZImYMjKNLovnLPV+2spWwA0WIc7dZqjEHRLOMdhzNvyHW 85FeUC+WLFbBpxK7GEdnOchca+AXMzCHh8iaJvsOSK7h4RrZ4Y38c5iTF6EBXgT1ithY mK+wqz5R2bu/AVe2b3zKhLnWinfhGxUYt5V63eVCP9tOkQeeRMnaM8RYWqXmm7GqJcim Nv4HObielemdAFRrLP9BIBlRYrCHltDTyttaVoPFI3p4MjVl+ZGKugyBDoRs5S45GorL j4xhcl+6f2e17bijQiVJcH/7J93i89YaizuxubZCh7+ApqQ5mYSuoNkPjv3/5CHtfhID +h9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=tjOQydZZToVBPA3dgfmFuqHvEtzqq9x+Ho+pX9FvvMs=; b=VUnS3tBCvaZK9rQQHtX+AyOutjRJOXcigj8PKMF3h2xaeiA/eDaExe05Cdujc9eqeT fzy2FviolFQugunPei8T0AwT6YuUMKCNw9x/aE2o1dBt8HUzHLlWlu8qjwiCgArhtWWn /u755peyHQZ2gml8ncDKIQZw5g/+9PGVHBXExHA4Pf4F3hDmWYAny0m40/iKKwKuMZrM HrxGFxATFNKf919tWohANR/XuFqb97WkucKV/HN6WEzgN0HRLYO6EdqoHzzZNC0XNoBD lqBeJxMaDrUKPTY/bmZQ1C9inOlkxGr7kejq20ycJfu3Szmwhp0kgyeVulbDZMs3Sl5W kiEw== X-Gm-Message-State: AKaTC02Vpg3BeBsVBWQKVOgxhz30op3VrE1lGL+Bk0AdcHZZ152wQBps+ywJsVQZMR132A== X-Received: by 10.98.68.84 with SMTP id r81mr42422083pfa.174.1480659765312; Thu, 01 Dec 2016 22:22:45 -0800 (PST) Received: from localhost.localdomain ([27.255.197.195]) by smtp.gmail.com with ESMTPSA id v76sm4311113pfk.77.2016.12.01.22.22.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Dec 2016 22:22:44 -0800 (PST) From: Jassi Brar To: laurent.pinchart@ideasonboard.com, balbi@kernel.org Cc: linux-usb@vger.kernel.org, Jassi Brar Subject: [PATCH] usb: gadget: uvc: fix UVC_ATTR macro for UVCG_OPTS_ATTR Date: Fri, 2 Dec 2016 11:52:02 +0530 Message-Id: <1480659722-3344-1-git-send-email-jassisinghbrar@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org From: Jassi Brar Typo in commit 76e0da34c7cec5a7d introduced a bug that prevents creation of streaming_{interval,maxpacket,maxburst} nodes for invalid 'aname' node. Signed-off-by: Jassi Brar --- drivers/usb/gadget/function/uvc_configfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Reviewed-by: Laurent Pinchart diff --git a/drivers/usb/gadget/function/uvc_configfs.c b/drivers/usb/gadget/function/uvc_configfs.c index ecb5614..158849e 100644 --- a/drivers/usb/gadget/function/uvc_configfs.c +++ b/drivers/usb/gadget/function/uvc_configfs.c @@ -2245,7 +2245,7 @@ end: \ return ret; \ } \ \ -UVC_ATTR(f_uvc_opts_, cname, aname) +UVC_ATTR(f_uvc_opts_, cname, cname) #define identity_conv(x) (x)