From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756880AbcIHDIb (ORCPT ); Wed, 7 Sep 2016 23:08:31 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:33108 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751667AbcIHDIW (ORCPT ); Wed, 7 Sep 2016 23:08:22 -0400 X-IronPort-AV: E=Sophos;i="5.30,298,1470693600"; d="scan'208";a="235635274" Date: Thu, 8 Sep 2016 11:08:06 +0800 (SGT) From: Julia Lawall X-X-Sender: jll@hadrien To: Andrey Utkin cc: Mauro Carvalho Chehab , kernel-janitors@vger.kernel.org, Ezequiel Garcia , Hans Verkuil , Ismael Luceno , Bluecherry Maintainers , Andy Walls , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] [media] pci: constify snd_pcm_ops structures In-Reply-To: <20160908022755.mr45eulz4r7vfoo5@zver> Message-ID: References: <1473295479-24615-1-git-send-email-Julia.Lawall@lip6.fr> <20160908022755.mr45eulz4r7vfoo5@zver> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 8 Sep 2016, Andrey Utkin wrote: > Thanks for looking into this. > I have tested that it compiles and passes checks (C=2) cleanly after > this patch. > > Acked-by: Andrey Utkin > > While we're at it, what about constification of > *-core.c:static struct pci_driver *_pci_driver = { > *-video.c:static struct vb2_ops *_video_qops = { > *-video.c:static struct video_device *_video_template = { > > in drivers/media/pci/? Also there are even more similar entries not > constified yet in drivers/media/, however I may be underestimating > complexity of making semantic rules for catching that all. I will check on these. Thanks for the suggestion. julia