Re: [PATCH 2/3] sparc: make driver/of/pdt no longer sparc-specific

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Grant Likely
Date: Sunday, August 8, 2010 - 10:41 pm

On Sun, Aug 8, 2010 at 11:32 PM, Andres Salomon <dilinger@queued.net> wrote:

because casting will mean the compiler can no longer catch errors when
someone accidentally assigns an incompatible function.


:-)


Ah, right.  I missed that.  A little ugly.  Personally I'd rather be
explicit and have a separate static inline for each usage.


np

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/3] sparc: make driver/of/pdt no longer sparc- ..., Grant Likely, (Sun Aug 8, 10:41 pm)