This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Clean warning on quicc2_diag.c


On Thu, Mar 25, 2004 at 02:24:13PM +0100, sebastien Couret wrote:
> On Thursday 18 March 2004 16:24, you wrote:
> >
> > Hi Sebastien
> >
> > Please could you submit this patch again. This time include a
> > ChangeLog entry and make the patch relative to the packages
> > directory. Its not clear which quicc2_diag.c this is supposed to be
> > applied to. There are 2 of them.
> >
> >
> >         Thanks
> >                Andrew
> 
> 
> diff -a -w -u -r hal/powerpc/mpc8xxx/current/src/v1.4/ 
> hal/powerpc/mpc8xxx/current/src/quicc2_diag.c
> --- hal/powerpc/mpc8xxx/current/src/v1.4/quicc2_diag.c  Thu Mar 11 10:30:47 
> 2004
> +++ hal/powerpc/mpc8xxx/current/src/quicc2_diag.c       Thu Mar 11 11:08:19 
> 2004
> @@ -404,7 +404,7 @@
>      regs->smc_smcmr = 0x4823;
> 
>      // Clear events
> -    regs->smc_smce = 0xFFFF;
> +    regs->smc_smce = 0xFF;
>      regs->smc_smcm = SMCE_Rx;
> 
>      // Init channel
> 
> 
> And the Changelog entry :
> 
> 2004-03-25  Sebastien Couret  <sebastien.couret@elios-informatique.com>
> 
> 	* src/quicc2_diag.c: Clean warning on smc_smce which is byte type.
> 	

Thanks for the patch. Attached is what i have committed.

       Andrew

Attachment: patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]