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: <20120712153452.GC17365@kroah.com>
Date:	Thu, 12 Jul 2012 08:34:52 -0700
From:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To:	"Valentin, Eduardo" <eduardo.valentin@...com>
Cc:	devel@...verdev.osuosl.org, b-cousson@...com, j-keerthy@...com,
	linux-kernel@...r.kernel.org, kbaidarov@....rtsoft.ru,
	grant.likely@...retlab.ca
Subject: Re: [PATCHv3 1/4] staging: OMAP4+: thermal: introduce bandgap
 temperature sensor

On Thu, Jul 12, 2012 at 05:45:52AM +0300, Valentin, Eduardo wrote:
> Hello,
> 
> On Thu, Jul 12, 2012 at 3:32 AM, Greg Kroah-Hartman
> <gregkh@...uxfoundation.org> wrote:
> > On Wed, Jul 11, 2012 at 11:41:06PM +0300, Eduardo Valentin wrote:
> >> In the System Control Module, OMAP supplies a voltage reference
> >> and a temperature sensor feature that are gathered in the band
> >> gap voltage and temperature sensor (VBGAPTS) module. The band
> >> gap provides current and voltage reference for its internal
> >> circuits and other analog IP blocks. The analog-to-digital
> >> converter (ADC) produces an output value that is proportional
> >> to the silicon temperature.
> >>
> >> This patch provides a platform driver which expose this feature.
> >> It is moduled as a MFD child of the System Control Module core
> >> MFD driver.
> >>
> >> This driver provides only APIs to access the device properties,
> >> like temperature, thresholds and update rate.
> >>
> >> Signed-off-by: Eduardo Valentin <eduardo.valentin@...com>
> >> Signed-off-by: J Keerthy <j-keerthy@...com>
> >
> > This patch gives me the following build error:
> >
> > rivers/staging/omap-thermal/omap-bandgap.c: In function ‘omap_bandgap_build’:
> > drivers/staging/omap-thermal/omap-bandgap.c:805:2: error: implicit declaration of function ‘of_match_device’ [-Werror=implicit-function-declaration]
> > drivers/staging/omap-thermal/omap-bandgap.c:805:8: warning: assignment makes pointer from integer without a cast [enabled by default]
> 
> OK. Those I didn't see while testing on my side. I didn't use
> -Werror=implicit-function-declaration though.

You shouldn't need to do that, just build this driver on your desktop
and you will see the error (hint, do you really want to build this on
x86-64 platforms?)

thanks,

greg k-h
--
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