Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 25 Feb 2003 18:40:22 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 25 Feb 2003 18:40:21 -0500 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:519 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Tue, 25 Feb 2003 18:40:21 -0500 Date: Tue, 25 Feb 2003 15:47:59 -0800 (PST) From: Linus Torvalds To: Rusty Russell cc: Richard Henderson , , Kai Germaschewski Subject: Re: [PATCH] eliminate warnings in generated module files In-Reply-To: <20030225234343.1109E2C05E@lists.samba.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 652 Lines: 19 On Tue, 25 Feb 2003, Rusty Russell wrote: > > __optional should always be __attribute__((__unused__)), and > __required should be your __attribute_used__. But I think rth's point was that "__module_depends" should definitely _not_ be "optional", since that just means that the compiler can (and will) optimize away the whole thing. So marking it optional is definitely the wrong thing to do. Linus - 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/