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] [day] [month] [year] [list]
Message-ID: <543FC5BB.6050106@roeck-us.net>
Date:	Thu, 16 Oct 2014 06:18:51 -0700
From:	Guenter Roeck <linux@...ck-us.net>
To:	Johannes Thumshirn <johannes.thumshirn@....de>,
	Andreas Werner <andreas.werner@....de>,
	Jean Delvare <jdelvare@...e.de>
CC:	lm-sensors@...sensors.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] hwmon: menf21bmc: Include linux/err.h

On 10/16/2014 06:07 AM, Johannes Thumshirn wrote:
> Include linux/err.h to get the definitions for IS_ERR() PTR_ERR() and
> ERR_PTR() used in the driver.
>
> This fixes compilation on powerpc targets.
>
> Signed-off-by: Johannes Thumshirn <johannes.thumshirn@....de>

Hmm, my build tests should really find that :-(

Applied, thanks

Guenter

> ---
>   drivers/hwmon/menf21bmc_hwmon.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/hwmon/menf21bmc_hwmon.c b/drivers/hwmon/menf21bmc_hwmon.c
> index c92229d..afc6b58 100644
> --- a/drivers/hwmon/menf21bmc_hwmon.c
> +++ b/drivers/hwmon/menf21bmc_hwmon.c
> @@ -21,6 +21,7 @@
>   #include <linux/jiffies.h>
>   #include <linux/slab.h>
>   #include <linux/i2c.h>
> +#include <linux/err.h>
>
>   #define DRV_NAME  "menf21bmc_hwmon"
>
>

--
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