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] [day] [month] [year] [list]
Date:	Sun, 26 Sep 2010 17:04:43 +0200
From:	Giel van Schijndel <me@...tis.eu>
To:	Lutz Ballaschke <vegan.grindcore@...glemail.com>
Cc:	Wim Van Sebroeck <wim@...ana.be>, linux-watchdog@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCHv3 1/3] watchdog: add f71862fg support

On Sun, Sep 26, 2010 at 04:25:35PM +0200, Lutz Ballaschke wrote:
> Watchdog support for Fintek F71862fg Super-I/O added.
> Two different hardware reset pins of the F71862fg chip can be configured 
> by an additional module parameter.
> 
> Signed-off-by: Lutz Ballaschke <vegan.grindcore@...glemail.com>
> ---
> 
>  drivers/watchdog/f71808e_wdt.c |   44 ++++++++++++++++++++++++++++++++++++++++
>  1 files changed, 44 insertions(+), 0 deletions(-)
> 
> 
> diff --git a/drivers/watchdog/f71808e_wdt.c b/drivers/watchdog/f71808e_wdt.c
> index 7e5c266..546cef6 100644
> --- a/drivers/watchdog/f71808e_wdt.c
> +++ b/drivers/watchdog/f71808e_wdt.c
> @@ -282,6 +295,28 @@ exit_unlock:
>  	return err;
>  }
>  
> +static int f71862fg_pin_configure(unsigned short ioaddr)
> +{
> +	/* When ioaddr is non-zero the calling function has to take care of
> +	   mutex handling and superio preparation! */
> +

Given that this basically documents how the function should be used
(i.e. API documentation) you might want to put the comment block
*before* the function's prototype.  You could use kernel-doc for it if
you wish (Documentation/kernel-doc-nano-HOWTO.txt).

This is just advice though, so:

Signed-off-by: Giel van Schijndel <me@...tis.eu>

-- 
Met vriendelijke groet,
With kind regards,
Giel van Schijndel
--
"There are two major products that come out of Berkeley: LSD and UNIX.
 We don't believe this to be a coincidence."
  -- Jeremy S. Anderson

Download attachment "signature.asc" of type "application/pgp-signature" (199 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ