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: <20060822161706.bad04598.akpm@osdl.org>
Date:	Tue, 22 Aug 2006 16:17:06 -0700
From:	Andrew Morton <akpm@...l.org>
To:	Richard Knutsson <ricknu-0@...dent.ltu.se>
Cc:	Prajakta Gudadhe <pgudadhe@...dia.com>, jeff@...zik.org,
	linux-kernel@...r.kernel.org
Subject: Re: Generic booleans in -mm (was: Re: [PATCH] Sgpio support in
 sata_nv)

On Wed, 23 Aug 2006 00:54:34 +0200
Richard Knutsson <ricknu-0@...dent.ltu.se> wrote:

> Andrew Morton wrote:
> 
> >On Mon, 21 Aug 2006 18:17:06 -0700
> >Prajakta Gudadhe <pgudadhe@...dia.com> wrote:
> >  
> >
> [snip]
> 
> >>...
> >>
> >>+
> >>+static bool nv_sgpio_update_led(struct nv_sgpio_led *led, bool *on_off)
> >>    
> >>
> >
> >Please remove the new private implementation of `bool' and just use `int'. 
> >There's ongoing discussion about how to do a kernel-wide implementation of
> >bool, and adding new driver-private ones now just complicates that.
> >  
> >
> Well, the discussion seem to have quiet down (so time to start it up 
> again ;) ). But would you take a patch for a generic implementation of 
> bool/false/true? I sent one 29th of July with no complaints or 
> suggestions. I am happy to send it again.

Within the changelog, please summarise the arguments in that epic email
thread in a fashion which preempts a rerun ;)

> About this patch, isn't better to leave the 'bool'-type if there is a 
> will to make a common boolean? Easier to find and convert a local 
> definition of bool then finding functions who are boolean, but decleard 
> as some kind of integer.

Good point.
-
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