[U-Boot-Users] Non-Board specific patches - how to handle? Was: [PATCH] MACOSX support

Wolfgang Denk wd at denx.de
Sat May 12 00:37:35 CEST 2007


Dear Robin,

in message <200705111804.30232.rgetz at blackfin.uclinux.org> you wrote:
>
...
> > --- a/tools/mkimage.c
> > +++ b/tools/mkimage.c
> > @@ -446,7 +446,7 @@ NXTARG:		;
> >  	}
> >
> >  	/* We're a bit of paranoid */
> > -#if defined(_POSIX_SYNCHRONIZED_IO) && !defined(__sun__) &&
> > !defined(__FreeBSD__)
    ^^^^^^^^ linewrap
> > +#if defined(_POSIX_SYNCHRONIZED_IO) && !defined(__sun__) &&
> > !defined(__FreeBSD__) && !defined(__APPLE__)
    ^^^^^^^^ linewrap
> >  	(void) fdatasync (ifd);
> >  #else
> >  	(void) fsync (ifd);
> > @@ -496,7 +496,7 @@ NXTARG:		;
> >  	(void) munmap((void *)ptr, sbuf.st_size);
> >
> >  	/* We're a bit of paranoid */
> > -#if defined(_POSIX_SYNCHRONIZED_IO) && !defined(__sun__) &&
> > !defined(__FreeBSD__)
    ^^^^^^^^ linewrap
> > +#if defined(_POSIX_SYNCHRONIZED_IO) && !defined(__sun__) &&
> > !defined(__FreeBSD__) && !defined(__APPLE__)
    ^^^^^^^^ linewrap
> >  	(void) fdatasync (ifd);
> >  #else
> >  	(void) fsync (ifd);
...
> How would you like to handle patches like this?

Well, of course we reject such a patch, as it does not apply to any
code after being linewrapped by a broken / misconfigured mailer.

[But I guess this was not exactly your question :-) ]

> Should an arch maintainer put it in their git tree, and push you the change - 
> (even though it is common code) or is a patch to the mailing list the best 
> way to handle?

The "official" approach is that ALL patches get posted to the mailing
list, from where the respective custodian will pick it up.  I  intend
to  be  the  "ragpicker"  to  collect all items that are left. At the
moment this still suffers from a working patch tracking  system,  but
this is in the works (I know, I promised this too often already).

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,    CEO: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A Perl script is correct if it's halfway readable and  gets  the  job
done before your boss fires you.
                       - L. Wall & R. L. Schwartz, _Programming Perl_




More information about the U-Boot mailing list