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]
Message-ID: <4FD8A1AE.3040003@linaro.org>
Date:	Wed, 13 Jun 2012 15:20:30 +0100
From:	Lee Jones <lee.jones@...aro.org>
To:	Mark Brown <broonie@...nsource.wolfsonmicro.com>
CC:	linux-kernel@...r.kernel.org, Fabio Estevam <festevam@...il.com>
Subject: Re: [PATCH] regmap: Remove warning on stubbed dev_get_regmap()

On 13/06/12 14:38, Mark Brown wrote:
> It's perfectly sensible to ask if there's a regmap for a device which
> doesn't have one so the stubbed version shouldn't complain, the caller
> should be prepared for this.
>
> Signed-off-by: Mark Brown<broonie@...nsource.wolfsonmicro.com>
> ---
>   include/linux/regmap.h |    1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/include/linux/regmap.h b/include/linux/regmap.h
> index 4c9e642..c3508d0 100644
> --- a/include/linux/regmap.h
> +++ b/include/linux/regmap.h
> @@ -388,7 +388,6 @@ static inline int regmap_register_patch(struct regmap *map,
>   static inline struct regmap *dev_get_regmap(struct device *dev,
>   					    const char *name)
>   {
> -	WARN_ONCE(1, "regmap API is disabled");
>   	return NULL;
>   }

Thanks Mark.

Reported-by: Lee Jones <lee.jones@...aro.org>
Tested-by: Lee Jones <lee.jones@...aro.org>

-- 
Lee Jones
Linaro ST-Ericsson Landing Team Lead
M: +44 77 88 633 515
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