lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 18 Nov 2013 13:06:16 +0000
From:	Lee Jones <lee.jones@...aro.org>
To:	Geert Uytterhoeven <geert@...ux-m68k.org>
Cc:	Samuel Ortiz <sameo@...ux.intel.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mfd: Constify struct mfd_cell where possible

On Mon, 18 Nov 2013, Geert Uytterhoeven wrote:

> As of commit 03e361b25ee8dfb1fd9b890072c23c4aae01c6c7 ("mfd: Stop setting
> refcounting pointers in original mfd_cell arrays"), the "cell" parameter of
> mfd_add_devices() is "const" again. Hence make all cell data passed to
> mfd_add_devices() const where possible.
> 
> Signed-off-by: Geert Uytterhoeven <geert@...ux-m68k.org>
> ---
> Compile tested:
>   - cs5535-mfd, intel_msic, and sta2x11-mfd for x86,
>   - all other drivers for arm.
> 
>  drivers/mfd/88pm800.c             |    4 ++--
>  drivers/mfd/88pm805.c             |    2 +-
>  drivers/mfd/ab8500-core.c         |   14 +++++++-------
>  drivers/mfd/arizona-core.c        |    8 ++++----
>  drivers/mfd/as3722.c              |    2 +-
>  drivers/mfd/asic3.c               |    4 ++--
>  drivers/mfd/cros_ec.c             |    2 +-
>  drivers/mfd/da9052-core.c         |    2 +-
>  drivers/mfd/da9055-core.c         |    2 +-
>  drivers/mfd/da9063-core.c         |    2 +-
>  drivers/mfd/db8500-prcmu.c        |    4 ++--
>  drivers/mfd/htc-pasic3.c          |    2 +-
>  drivers/mfd/intel_msic.c          |    2 +-
>  drivers/mfd/jz4740-adc.c          |    2 +-
>  drivers/mfd/lp8788.c              |    2 +-
>  drivers/mfd/max77686.c            |    2 +-
>  drivers/mfd/max77693.c            |    2 +-
>  drivers/mfd/max8907.c             |    2 +-
>  drivers/mfd/max8925-core.c        |    8 ++++----
>  drivers/mfd/max8997.c             |    2 +-
>  drivers/mfd/max8998.c             |    4 ++--
>  drivers/mfd/rc5t583.c             |    2 +-
>  drivers/mfd/rdc321x-southbridge.c |    2 +-
>  drivers/mfd/retu-mfd.c            |    6 +++---
>  drivers/mfd/sec-core.c            |    8 ++++----
>  drivers/mfd/stmpe.c               |   10 +++++-----
>  drivers/mfd/stmpe.h               |    2 +-
>  drivers/mfd/tc3589x.c             |    4 ++--
>  drivers/mfd/tc6387xb.c            |    2 +-
>  drivers/mfd/timberdale.c          |   12 ++++++------
>  drivers/mfd/tps6507x.c            |    2 +-
>  drivers/mfd/tps65090.c            |    2 +-
>  drivers/mfd/tps65217.c            |    2 +-
>  drivers/mfd/tps6586x.c            |    2 +-
>  drivers/mfd/tps65910.c            |    2 +-
>  drivers/mfd/tps65912-core.c       |    2 +-
>  drivers/mfd/tps80031.c            |    2 +-
>  drivers/mfd/viperboard.c          |    2 +-
>  drivers/mfd/vx855.c               |    2 +-
>  drivers/mfd/wm831x-core.c         |   14 +++++++-------
>  drivers/mfd/wm8994-core.c         |    4 ++--
>  drivers/staging/nvec/nvec.c       |    2 +-
>  42 files changed, 80 insertions(+), 80 deletions(-)

In the interests of bisectability and revertability, I'd prefer one
patch per file-change where possible please. Or at the very least in
groups of files, so one for tps*, another one for max*, etc.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ