________________________________________ From: devel [[email protected]] on behalf of Gedare Bloom [[email protected]] Sent: Saturday, February 20, 2016 14:35 To: [email protected] Cc: [email protected] Subject: Re: [PATCH 6/6] OR1k cache invalidate additions
>On Sat, Feb 20, 2016 at 3:34 AM, <[email protected]> wrote: >> From: Jakob Viketoft <[email protected]> > >When breaking lines in expressions, leave the first and last line empty, >for ( > addr = ...(); > addr > 0; > addr -= ... >) { >... >} Didn't see that. Will fix. >> + _CPU_OR1K_Cache_data_block_flush((void*) addr); >Casting int to void* is not a great idea. Consider using uintptr_t instead. Oh, there was a number of other void-casts already there, so I didn't react to this. I'll take a look at those too, then. Jakob Viketoft Senior Engineer in RTL and embedded software ÅAC Microtec AB Dag Hammarskjölds väg 48 SE-751 83 Uppsala, Sweden T: +46 702 80 95 97 http://www.aacmicrotec.com _______________________________________________ devel mailing list [email protected] http://lists.rtems.org/mailman/listinfo/devel
