Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753207AbdHWBdd (ORCPT ); Tue, 22 Aug 2017 21:33:33 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:55642 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753168AbdHWBdc (ORCPT ); Tue, 22 Aug 2017 21:33:32 -0400 Date: Tue, 22 Aug 2017 18:33:37 -0700 From: Greg KH To: Arvind Yadav Cc: michael.thayer@oracle.com, daniel@ffwll.ch, hdegoede@redhat.com, linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org Subject: Re: [PATCH] staging: vboxvideo: constify drm_fb_helper_funcs Message-ID: <20170823013337.GA26041@kroah.com> References: <1ec6b9eca12e894181fd05876481c7eef7eff691.1503309844.git.arvind.yadav.cs@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1ec6b9eca12e894181fd05876481c7eef7eff691.1503309844.git.arvind.yadav.cs@gmail.com> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 530 Lines: 13 On Mon, Aug 21, 2017 at 03:36:34PM +0530, Arvind Yadav wrote: > drm_fb_helper_funcs are not supposed to change at runtime. > All functions working with drm_fb_helper_funcs provided by > work with const drm_fb_helper_funcs. > So mark the non-const structs as const. > > Signed-off-by: Arvind Yadav > Reviewed-by: Hans de Goede > --- > drivers/staging/vboxvideo/vbox_fb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Does not apply to my tree :(