[U-Boot-Users] PATCH: bug fix in IDE identification strings

Wolfgang Denk wd at denx.de
Wed Mar 17 02:13:30 CET 2004


In message <4055AA27.3010805 at staubli.com> you wrote:
> 
> The attached patch fixes a bug in the ide identification string copy.
> 
> CHANGELOG:
> * Pierre AUBERT - 15 Mar 2004
>    - bug fix in ide identification.

Thanks.

I chose to implement this differently (keeping the sizeof()  which  I
like  much  better than magic hardwired sizes). Now ident_cpy() knows
that the "len" given includes the terminating NUL byte.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"He was so narrow minded he could see through  a  keyhole  with  both
eyes ..."




More information about the U-Boot mailing list