>this is incorrect as anomalies are always defined. you want to use >'#if ANOMALY_...'.
I don't think there is a define for ANOMALY_05000447 yet. It needs to be added first. >-----Original Message----- >From: [email protected] [mailto:linux- >[email protected]] On Behalf Of Mike Frysinger >Sent: Tuesday, March 03, 2009 7:47 PM >To: [email protected] >Cc: [email protected] >Subject: Re: [Linux-kernel-commits] >[6147]trunk/drivers/net/irda/bfin_sir.c: Add ANOMALY_05000447 workaround in >bfin_sir driver. > >On Tue, Mar 3, 2009 at 03:46, <[email protected]> wrote: >> Modified: trunk/drivers/net/irda/bfin_sir.c (6146 => 6147) >> >> +# if defined ANOMALY_05000447 >> +static int max_rate = 57600; >> +# else >> static int max_rate = 115200; >> +#endif > >this is incorrect as anomalies are always defined. you want to use >'#if ANOMALY_...'. >-mike >_______________________________________________ >Linux-kernel-commits mailing list >[email protected] >http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits _______________________________________________ Linux-kernel-commits mailing list [email protected] http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits
