Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752519AbbKIOuv (ORCPT ); Mon, 9 Nov 2015 09:50:51 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:30865 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752479AbbKIOut (ORCPT ); Mon, 9 Nov 2015 09:50:49 -0500 X-IronPort-AV: E=Sophos;i="5.20,266,1444687200"; d="scan'208";a="153229610" Date: Mon, 9 Nov 2015 14:50:47 +0000 (GMT) From: Julia Lawall X-X-Sender: jll@hadrien To: Dan Carpenter cc: Julia Lawall , Joe Perches , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, Kees Cook , kernel-hardening@lists.openwall.com Subject: Re: [kernel-hardening] Re: [PATCH] video: constify geode ops structures In-Reply-To: <20151109134942.GB8264@mwanda> Message-ID: References: <1447018493-20631-1-git-send-email-Julia.Lawall@lip6.fr> <20151108221624.GP18797@mwanda> <20151109054253.GQ18797@mwanda> <20151109134942.GB8264@mwanda> 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 Content-Length: 858 Lines: 29 On Mon, 9 Nov 2015, Dan Carpenter wrote: > Actually, it looks like Emese Revfy is going to merge the GCC plugin > constify stuff sooner rather than later so maybe adding all these consts > isn't going to be needed. Is there any advantage of const over the plugin? The consts are easy to add. Does the plugin help for structures that have non-function fields? julia > > regards, > dan carpenter > > -- > To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/