Re: [patch] 2.3.99-pre3-3: dev_alloc_name

From: Chris Buchanan (cbuchana@navtechinc.com)
Date: Tue Mar 21 2000 - 08:39:03 EST


On Tue, Mar 21, 2000 at 12:57:50PM +0000, Alan Cox wrote:
> > > This is not correct, Linus please don't apply.
> > I think it is, Jeff. Try this patch:
>
> Ok you are demonstrating a compiler feature we really don't need. You do need
> to make a new string. You also therefore need to fix every case we free a
> network device, remembering the names may pretty arbitarily be a constant.
>
> Is there a way to tell egcs to give unique strings for a given array. If not
> then we probably need to preprocess the file (Im not doing this by hand that
> is for sure) to generate lots of little 8 byte arrays and link each structure
> element to its own private array entry.

Try -fwriteable-strings.

-- 
Chris Buchanan
Intermediate Software Developer
Navtech Inc., Waterloo, Ontario, Canada

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:32 EST