All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jeff@garzik.org>
To: Prarit Bhargava <prarit@redhat.com>
Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org
Subject: Re: [PATCH 05/35] drivers/ata changes for SMBIOS and System Firmware
Date: Thu, 23 Jun 2011 17:33:04 -0400	[thread overview]
Message-ID: <4E03B110.7060708@garzik.org> (raw)
In-Reply-To: <20110623172240.27628.71518.sendpatchset@prarit.bos.redhat.com>

On 06/23/2011 01:22 PM, Prarit Bhargava wrote:
> drivers/ata changes for SMBIOS and System Firmware
>
> As part of the new SMBIOS and System Firmware code:
>
> - Replace old dmi* structures and functions with new sysfw* and smbios*
> structures and functions in individual drivers
> - cleanup sysfw_id lookup tables
> - cleanup of includes for dmi.h and mod_devicetable.h which were included in
> some files that did not need them
>
> Signed-off-by: Prarit Bhargava<prarit@redhat.com>
> ---
>   drivers/ata/acard-ahci.c  |    1 -
>   drivers/ata/ahci.c        |  177 +++++++++++++++++++++++----------------------
>   drivers/ata/ata_piix.c    |  156 +++++++++++++++++++++++-----------------
>   drivers/ata/pata_ali.c    |   18 +++---
>   drivers/ata/pata_cs5530.c |   12 ++--
>   drivers/ata/pata_rdc.c    |    1 -
>   drivers/ata/pata_sch.c    |    1 -
>   drivers/ata/pata_via.c    |   14 ++--
>   drivers/ata/sata_sil.c    |   19 +++---
>   9 files changed, 210 insertions(+), 189 deletions(-)



>   #ifdef CONFIG_PM
> +bool sysfw_match(int field, const char *str)
> +{
> +	const char *info = sysfw_lookup(field);
> +
> +	if (info == NULL || str == NULL)
> +		return info == str;
> +
> +	return !strcmp(info, str);
> +}

It is surprising that nobody else needed this.  I would rather that this 
sort of thing go into the generic code, where it lived prior to this change.

Either way, though,

Acked-by: Jeff Garzik <jgarzik@redhat.com>

I presume you'll merge this at the same time as the rest of the rename 
changes.


  reply	other threads:[~2011-06-23 21:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-23 17:22 [PATCH 05/35] drivers/ata changes for SMBIOS and System Firmware Prarit Bhargava
2011-06-23 21:33 ` Jeff Garzik [this message]
2011-06-23 22:56   ` Prarit Bhargava

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=4E03B110.7060708@garzik.org \
    --to=jeff@garzik.org \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=prarit@redhat.com \
    /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.