All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: Tejun Heo <tj@kernel.org>
Cc: IDE/ATA development list <linux-ide@vger.kernel.org>,
	"Rafael J. Wysocki" <rjw@sisk.pl>
Subject: Re: [PATCH #hibern_regress] libata: add missing dummy dmi_first_match()
Date: Tue, 11 Nov 2008 03:07:14 -0500	[thread overview]
Message-ID: <49193D32.8010600@garzik.org> (raw)
In-Reply-To: <4911B47A.2010409@kernel.org>

Tejun Heo wrote:
> Dummy dmi_first_match() definition for !CONFIG_DMI is missing.  Add it.
> 
> Signed-off-by: Tejun Heo <tj@kernel.org>
> ---
>  include/linux/dmi.h |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/linux/dmi.h b/include/linux/dmi.h
> index 6e20820..dbce0ce 100644
> --- a/include/linux/dmi.h
> +++ b/include/linux/dmi.h
> @@ -51,6 +51,8 @@ extern int dmi_walk(void (*decode)(const struct dmi_header *));
>  #else
>  
>  static inline int dmi_check_system(const struct dmi_system_id *list) { return 0; }
> +static inline const struct dmi_system_id *dmi_first_match(const struct dmi_system_id *list)
> +	{ return NULL; }
>  static inline const char * dmi_get_system_info(int field) { return NULL; }
>  static inline const struct dmi_device * dmi_find_device(int type, const char *name,

applied



      parent reply	other threads:[~2008-11-11  8:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-05 14:58 [PATCH #hibern_regress] libata: add missing dummy dmi_first_match() Tejun Heo
2008-11-06 16:33 ` Rafael J. Wysocki
2008-11-11  8:07 ` Jeff Garzik [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=49193D32.8010600@garzik.org \
    --to=jeff@garzik.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=tj@kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.