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] [thread-next>] [day] [month] [year] [list]
Message-ID: <1289530622.8148.1500.camel@rui>
Date:	Fri, 12 Nov 2010 10:57:02 +0800
From:	Zhang Rui <rui.zhang@...el.com>
To:	Chris Wilson <chris@...is-wilson.co.uk>
Cc:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Matthew Garrett <mjg@...hat.com>,
	"Brown, Len" <len.brown@...el.com>
Subject: Re: [PATCH] acpi: Provide decls for standalone compilation of
 video.h without ACPI (v2)

On Fri, 2010-11-12 at 09:12 +0800, Zhang Rui wrote:
> On Sun, 2010-09-05 at 21:51 +0800, Chris Wilson wrote:
> > Signed-off-by: Chris Wilson <chris@...is-wilson.co.uk>
> > Cc: Matthew Garrett <mjg@...hat.com>
> > Cc: Zhang Rui <rui.zhang@...el.com>
> > Cc: Len Brown <len.brown@...el.com>
> 
> Acked-by: Zhang Rui <rui.zhang@...el.com>
> 
> > ---
> >  include/acpi/video.h |    5 ++++-
> >  1 files changed, 4 insertions(+), 1 deletions(-)
> > 
> > diff --git a/include/acpi/video.h b/include/acpi/video.h
> > index 551793c..0e98e67 100644
> > --- a/include/acpi/video.h
> > +++ b/include/acpi/video.h
> > @@ -1,6 +1,10 @@
> >  #ifndef __ACPI_VIDEO_H
> >  #define __ACPI_VIDEO_H
> >  
> > +#include <linux/errno.h> /* for ENODEV */
> > +
> > +struct acpi_device;
> > +
Oh, btw, this line is actually not needed,
because acpi_video_get_edid is not invoked in any place when CONFIG_ACPI
is cleared.

> >  #define ACPI_VIDEO_DISPLAY_CRT  1
> >  #define ACPI_VIDEO_DISPLAY_TV   2
> >  #define ACPI_VIDEO_DISPLAY_DVI  3
> > @@ -26,4 +30,3 @@ static inline int acpi_video_get_edid(struct acpi_device *device, int type,
> >  #endif
> >  
> >  #endif
> > -
> 


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