From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mailout2.samsung.com ([203.254.224.25]:51204 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752966AbdHGKTp (ORCPT ); Mon, 7 Aug 2017 06:19:45 -0400 Subject: Re: [PATCH 11/12] [media] exynos4-is: constify v4l2_m2m_ops structures To: Julia Lawall , linux-media@vger.kernel.org Cc: bhumirks@gmail.com, kernel-janitors@vger.kernel.org, Mauro Carvalho Chehab , Kukjin Kim , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org From: Sylwester Nawrocki Message-id: Date: Mon, 07 Aug 2017 12:19:36 +0200 MIME-version: 1.0 In-reply-to: <1502007921-22968-12-git-send-email-Julia.Lawall@lip6.fr> Content-type: text/plain; charset="utf-8"; format="flowed" Content-language: en-GB Content-transfer-encoding: 7bit References: <1502007921-22968-1-git-send-email-Julia.Lawall@lip6.fr> <1502007921-22968-12-git-send-email-Julia.Lawall@lip6.fr> Sender: linux-media-owner@vger.kernel.org List-ID: On 08/06/2017 10:25 AM, Julia Lawall wrote: > The v4l2_m2m_ops structures are only passed as the only > argument to v4l2_m2m_init, which is declared as const. > Thus the v4l2_m2m_ops structures themselves can be const. > > Done with the help of Coccinelle. > Signed-off-by: Julia Lawall Reviewed-by: Sylwester Nawrocki