[PATCH 2/3] Handle absolute pathnames correctly in dtc_open_file.

Scott Wood scottwood at freescale.com
Mon Jan 7 09:46:24 EST 2008

On Sun, Jan 06, 2008 at 02:37:16PM +1100, David Gibson wrote:
> >  out:
> > +	free((void *)file->dir);
> That cast shouldn't be there.

It generates a constness warning otherwise.  I was on the fence over
whether to just remove the constness (even though the data is never
modified during its lifetime); would that be preferable?


More information about the Linuxppc-dev mailing list