Re: [patch 2.6.15-mm4] sem2mutex: I2C, #2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ingo,

> semaphore to mutex conversion.
> 
> the conversion was generated via scripts, and the result was validated
> automatically via a script as well.
> 
> build tested.
> 
> Signed-off-by: Ingo Molnar <[email protected]>
> ----
> 
>  drivers/i2c/busses/i2c-amd756-s4882.c |   14 ++++++-----
>  drivers/i2c/busses/i2c-isa.c          |    2 -
>  drivers/i2c/chips/eeprom.c            |    9 +++----
>  drivers/i2c/chips/max6875.c           |   10 +++----
>  drivers/i2c/chips/pcf8591.c           |   13 +++++-----
>  drivers/i2c/chips/tps65010.c          |   43 +++++++++++++++++-----------------
>  drivers/i2c/i2c-core.c                |   34 +++++++++++++-------------
>  include/linux/i2c.h                   |    6 ++--
>  8 files changed, 68 insertions(+), 63 deletions(-)

drivers/i2c/chips/tps65010.c looks broken to me: you updated every use
of the lock, but the structure itself is still declared as a semaphore.
I'll fix it up.

Also, any reason why drivers/i2c/busses/scx200_acb.c was not converted?
I'll convert it unless you had a specific reason no to.

Thanks,
-- 
Jean Delvare
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux