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]
Date:	Sat, 18 Apr 2015 16:59:55 +0300
From:	Dan Carpenter <dan.carpenter@...cle.com>
To:	Peter Senna Tschudin <peter.senna@...il.com>
Cc:	Alan Cox <alan@...ux.intel.com>,
	driverdevel <devel@...verdev.osuosl.org>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Jun Tian <jun.j.tian@...el.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Geert Uytterhoeven <geert@...ux-m68k.org>,
	Garret Kelly <garret.kelly@...il.com>,
	Octavian Purdila <octavian.purdila@...el.com>,
	Andreas <schwab@...ux-m68k.org>, Nick Kralevich <nnk@...gle.com>
Subject: Re: [PATCH V4] Fix pointer cast for 32 bits arch

On Sat, Apr 18, 2015 at 03:34:08PM +0200, Peter Senna Tschudin wrote:
> 
> 
> On Fri, Apr 17, 2015 at 4:10 PM, Alan Cox <alan@...ux.intel.com> wrote:
> > On Fri, 2015-04-17 at 16:59 +0300, Dan Carpenter wrote:
> >> On Fri, Apr 17, 2015 at 02:31:49PM +0100, Alan Cox wrote:
> >> > On Fri, 2015-04-17 at 11:20 +0300, Dan Carpenter wrote:
> >> > > Actually, my patch seems like a good idea to me but it's one of those
> >> > > things that someone should probably test.  Unless someone can test
> >> > > goldfish on a 32 bit system with 64 bit dma addresses
> >> >
> >> > No such "system" exists.
> >>
> >> I don't understand.  We definitely can have 64bit dma addresses on
> >> x86_32.
> >
> >
> > Yes but no actual Goldfish environment is built that way
> Isn't this a simpler fix?

I still think my fix is cleanest even though dma_addr_t and size_t are
always the same.  It just means that we can commit it without worrying
about testing.

regards,
dan carpenter

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