Re: [PATCH] net: trivial: fix fsl fec_main mdio write return value

2016-09-26 Thread Albert ARIBAUD
Hi Fabio, You are correct -- I'd rebased my patch as part of a series, and I did not notice that the fix was already there. Apologies and thanks for pointing it out. Le Mon, 26 Sep 2016 18:00:32 -0300, Fabio Estevam a écrit : > Hi Albert, > > On Mon, Sep 26, 2016 at 4:11 PM,

Re: [PATCH] net: trivial: fix fsl fec_main mdio write return value

2016-09-26 Thread Albert ARIBAUD
... and of course I only see the typo /now/... Le Mon, 26 Sep 2016 21:11:40 +0200, "Albert ARIBAUD (3ADEV)" a écrit : > If the MDIO enf-of-transfer wait loop does not time out, ~~~ Make that "end-of-transfer". Should I post a v2? Cordialement, Albert ARIBAUD 3ADEV

[PATCH] net: trivial: fix fsl fec_main mdio write return value

2016-09-26 Thread Albert ARIBAUD (3ADEV)
If the MDIO enf-of-transfer wait loop does not time out, 0 should be returned to the caller through ret, but ret was not reset to 0 after receiving the return value of pm_runtime_get_sync(). Reset ret when no time out occurred. Signed-off-by: Albert ARIBAUD (3ADEV) --- drivers/net/ethernet

Re: [Y2038] Fourth draft of the Y2038 design document

2016-09-07 Thread Albert ARIBAUD
_RCVTIMEO_TIME64 : > SO_RCVTIMEO_TIME32) > > where __USE_TIME_BITS is a macro defined by the libc. We cannot easily > check for whether a macro is defined in a conditional expression, > but I think the above should work, as long as we don't need use the > value from assem