lkml.org 
[lkml]   [2009]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] sata_sil: Fix build breakage
Date

On Jan 27, 2009, at 11:02 PM, Kumar Gala wrote:

> The following commit introduces:
>
> commit e57db7bde7bff95ae812736ca00c73bd5271455b
> Author: Rafael J. Wysocki <rjw@sisk.pl>
> Date: Mon Jan 19 20:58:29 2009 +0100
>
> SATA Sil: Blacklist system that spins off disks during ACPI power
> off
>
> the following build errors on non-x86 systems:
>
> drivers/ata/sata_sil.c: In function 'sil_broken_system_poweroff':
> drivers/ata/sata_sil.c:713: error: implicit declaration of function
> 'dmi_first_match'
> drivers/ata/sata_sil.c:713: warning: initialization makes pointer
> from integer without a cast
>
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
> drivers/ata/sata_sil.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)


it was pointed out that fixing include/linux/dmi.h was the better way
to fix this. I've posted a patch for fixing dmi.h that supersedes
this patch.

- k


\
 
 \ /
  Last update: 2009-01-28 07:17    [from the cache]
©2003-2011 Jasper Spaans