Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751533AbdGaHOS (ORCPT ); Mon, 31 Jul 2017 03:14:18 -0400 Received: from mail-lf0-f44.google.com ([209.85.215.44]:36934 "EHLO mail-lf0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750807AbdGaHOQ (ORCPT ); Mon, 31 Jul 2017 03:14:16 -0400 Date: Mon, 31 Jul 2017 09:14:14 +0200 From: Johan Hovold To: Julia Lawall Cc: Johan Hovold , kernel-janitors@vger.kernel.org, Alex Elder , Greg Kroah-Hartman , greybus-dev@lists.linaro.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 10/11] greybus: usb: constify hc_driver structures Message-ID: <20170731071414.GA6339@localhost> References: <1501274518-25170-1-git-send-email-Julia.Lawall@lip6.fr> <1501274518-25170-11-git-send-email-Julia.Lawall@lip6.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1501274518-25170-11-git-send-email-Julia.Lawall@lip6.fr> User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 380 Lines: 13 On Fri, Jul 28, 2017 at 10:41:57PM +0200, Julia Lawall wrote: > The hc_driver structure is only passed as the first argument to > usb_create_hcd, which is declared as const. Thus the hc_driver structure > itself can be const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Acked-by: Johan Hovold Thanks, Johan