Re: [PATCH 2/4] Blackfin I2C/TWI driver: Add platform_resource interface to support multi-port TWI controllers

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Bryan Wu <bryan.wu@...>
Cc: <i2c@...>, <linux-kernel@...>
Date: Saturday, November 3, 2007 - 8:29 am

On Fri,  2 Nov 2007 14:24:22 +0800, Bryan Wu wrote:

Coding style: missing space after opening curly brace.

Missing parentheses around "off" (twice).


Parentheses not needed. Suggested spaces around "+".


Suggesting a capital C for consistency.


This error path is not correct. You will display the info message below
as if things had worked fine, and you'll return an error without
freeing the allocated memory!


This should be a "return 0" - if rc is non-zero you should take the
error path.



-- 
Jean Delvare
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/4] Blackfin I2C/TWI driver: Add platform_resour..., Jean Delvare, (Sat Nov 3, 8:29 am)