• Andrew Morton's avatar
    [PATCH] hermes.h fails with outw_p() in :? · 74a93fb5
    Andrew Morton authored
    From: Michael Pruznick <michael_pruznick@mvista.com>
    
    build errors:
      hermes.h: In function `hermes_set_irqmask':
      hermes.h:337: parse error before "do"
      hermes.h:337: parse error before ';' token
      hermes.h: In function `hermes_write_words':
    
    In mips, outw_p() is a #define do...while(0) which, in the case of ?:,
    results in a statement being used where an expression is required.
    74a93fb5
hermes.h 13.4 KB