[{"id":1565986,"web_url":"http://patchwork.ozlabs.org/comment/1565986/","msgid":"<878tpychd3.fsf@belgarion.home>","date":"2017-01-26T09:15:04","subject":"Re: [PATCH] usb: gadget: udc: constify usb_ep_ops structures","submitter":{"id":1755,"url":"http://patchwork.ozlabs.org/api/people/1755/","name":"Robert Jarzmik","email":"robert.jarzmik@free.fr"},"content":"Bhumika Goyal <bhumirks@gmail.com> writes:\n\n> Declare usb_ep_ops structures as const as they are only stored in the\n> ops field of an usb_ep structure. This field is of type const, so\n> usb_ep_ops structures having this property can be made const too.\n> Done using Coccinelle( A smaller version of the script)\n\nFor pxa27x_udc.c :\nAcked-by: Robert Jarzmik <robert.jarzmik@free.fr>\n\nCheers.","headers":{"Return-Path":"<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>","X-Original-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Received":["from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3v8GWH0PDcz9t1P\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu, 26 Jan 2017 20:16:27 +1100 (AEDT)","from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3v8GWG6ZrKzDq7j\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu, 26 Jan 2017 20:16:26 +1100 (AEDT)","from smtp.smtpout.orange.fr (smtp04.smtpout.orange.fr\n\t[80.12.242.126])\n\t(using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits))\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3v8GV74PzhzDq72\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tThu, 26 Jan 2017 20:15:27 +1100 (AEDT)","from belgarion ([109.214.21.125]) by mwinf5d07 with ME\n\tid cxF61u00P2hvflp03xF9rg; Thu, 26 Jan 2017 10:15:20 +0100"],"X-ME-Helo":"belgarion","X-ME-Auth":"amFyem1pay5yb2JlcnRAb3JhbmdlLmZy","X-ME-Date":"Thu, 26 Jan 2017 10:15:20 +0100","X-ME-IP":"109.214.21.125","From":"Robert Jarzmik <robert.jarzmik@free.fr>","To":"Bhumika Goyal <bhumirks@gmail.com>","Subject":"Re: [PATCH] usb: gadget: udc: constify usb_ep_ops structures","References":"<1485192364-2840-1-git-send-email-bhumirks@gmail.com>","X-URL":"http://belgarath.falguerolles.org/","Date":"Thu, 26 Jan 2017 10:15:04 +0100","In-Reply-To":"<1485192364-2840-1-git-send-email-bhumirks@gmail.com> (Bhumika\n\tGoyal's message of \"Mon, 23 Jan 2017 22:56:04 +0530\")","Message-ID":"<878tpychd3.fsf@belgarion.home>","User-Agent":"Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.4 (gnu/linux)","MIME-Version":"1.0","Content-Type":"text/plain","X-BeenThere":"linuxppc-dev@lists.ozlabs.org","X-Mailman-Version":"2.1.23","Precedence":"list","List-Id":"Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>","List-Unsubscribe":"<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>","List-Archive":"<http://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>","List-Subscribe":"<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>","Cc":"balbi@kernel.org, gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, \n\tlinux-kernel@vger.kernel.org, haojian.zhuang@gmail.com,\n\tjulia.lawall@lip6.fr, \n\tlinux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, \n\tdaniel@zonque.org","Errors-To":"linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org","Sender":"\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"}}]