From patchwork Mon Sep 3 10:18:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 11146 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 47BD323E29 for ; Mon, 3 Sep 2012 10:21:05 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 1A079A188C8 for ; Mon, 3 Sep 2012 10:20:17 +0000 (UTC) Received: by mail-iy0-f180.google.com with SMTP id j25so7144780iaf.11 for ; Mon, 03 Sep 2012 03:21:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=1LkSw2msilU/qRcd2oLvhoAX3zCEF0NiIHSACZEuHss=; b=JVP7EVKGiR7YSLw6ji4MetmwNPnsOP5x4/A1PxhPFGmqfU1ya/HIcZOgA8Zoe0NItY 3jLiamJU3W8AgpOtMn/TQQAFSrwBUjwJh7/pekn/Jz45AOX3O5yKETcCEhqL2qgVvwuH 7yMPY76U/Any4WCenYcwLL+VnD1NB2R2VklU/a6bABrdtTHVK5O5TYzw7Q6mR9ztGCqW cZLN4+dN5clgyzHGvLOnTKLTVFNDvgYRGkh+mTSSZpXPPuXF8pRy8b+Ahi244k3/ynzu J4BSRw4OBQtYz8bwjHyirL363GmiCK78UVamapmEuWWmz/Ck4Cor7vri7/5O+wFpfSQD x01w== Received: by 10.50.10.201 with SMTP id k9mr10263167igb.28.1346667664737; Mon, 03 Sep 2012 03:21:04 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp129139igc; Mon, 3 Sep 2012 03:21:04 -0700 (PDT) Received: by 10.66.79.195 with SMTP id l3mr33090343pax.33.1346667663958; Mon, 03 Sep 2012 03:21:03 -0700 (PDT) Received: from mail-pz0-f50.google.com (mail-pz0-f50.google.com [209.85.210.50]) by mx.google.com with ESMTPS id pv1si21815568pbb.29.2012.09.03.03.21.03 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 03 Sep 2012 03:21:03 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.210.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.210.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-pz0-f50.google.com with SMTP id e7so3942211dad.37 for ; Mon, 03 Sep 2012 03:21:03 -0700 (PDT) Received: by 10.66.76.106 with SMTP id j10mr32952432paw.51.1346667663731; Mon, 03 Sep 2012 03:21:03 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id gf8sm9633261pbc.52.2012.09.03.03.21.00 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 03 Sep 2012 03:21:03 -0700 (PDT) From: Sachin Kamat To: linux-usb@vger.kernel.org Cc: balbi@ti.com, gregkh@linuxfoundation.org, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 2/3] usb: gadget: s3c-hsudc: Add missing braces around sizeof Date: Mon, 3 Sep 2012 15:48:19 +0530 Message-Id: <1346667500-22555-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1346667500-22555-1-git-send-email-sachin.kamat@linaro.org> References: <1346667500-22555-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQmNhhTo4AT2V4PY2gHqnmxdDxTM4LqAwxwLC1iPUdmIeGFHxL19JGaDGcFnJmPsR1B0cG7x Silences the following checkpatch warning: WARNING: sizeof *hsreq should be sizeof(*hsreq) Signed-off-by: Sachin Kamat --- drivers/usb/gadget/s3c-hsudc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/gadget/s3c-hsudc.c b/drivers/usb/gadget/s3c-hsudc.c index fe4a461..35cdc6a 100644 --- a/drivers/usb/gadget/s3c-hsudc.c +++ b/drivers/usb/gadget/s3c-hsudc.c @@ -833,7 +833,7 @@ static struct usb_request *s3c_hsudc_alloc_request(struct usb_ep *_ep, { struct s3c_hsudc_req *hsreq; - hsreq = kzalloc(sizeof *hsreq, gfp_flags); + hsreq = kzalloc(sizeof(*hsreq), gfp_flags); if (!hsreq) return 0;