From: Guenter Roeck <linux@roeck-us.net>
To: Johannes Thumshirn <johannes.thumshirn@men.de>,
Andreas Werner <andreas.werner@men.de>,
Jean Delvare <jdelvare@suse.de>
Cc: lm-sensors@lm-sensors.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] hwmon: menf21bmc: Include linux/err.h
Date: Thu, 16 Oct 2014 06:18:51 -0700 [thread overview]
Message-ID: <543FC5BB.6050106@roeck-us.net> (raw)
In-Reply-To: <1413464871-882-1-git-send-email-johannes.thumshirn@men.de>
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@men.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"
>
>
prev parent reply other threads:[~2014-10-16 13:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-16 13:07 [PATCH] hwmon: menf21bmc: Include linux/err.h Johannes Thumshirn
2014-10-16 13:18 ` Guenter Roeck [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=543FC5BB.6050106@roeck-us.net \
--to=linux@roeck-us.net \
--cc=andreas.werner@men.de \
--cc=jdelvare@suse.de \
--cc=johannes.thumshirn@men.de \
--cc=linux-kernel@vger.kernel.org \
--cc=lm-sensors@lm-sensors.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox