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:	Fri, 10 Oct 2008 14:43:23 -0700
From:	Roland Dreier <rdreier@...co.com>
To:	"Eric Van Hensbergen" <ericvh@...il.com>
Cc:	"Tom Tucker" <tom@...ngridcomputing.com>,
	linux-kernel@...r.kernel.org, v9fs-devel@...r.kernel.org,
	rminnich@...cer.ca.sandia.gov, lionkov@...l.gov
Subject: Re: [PATCH v2a] 9prdma: RDMA Transport Support for 9P

 > > (in cq_comp_handler)
 > >  +               struct p9_rdma_context *c = (void *)wc.wr_id;

cast here should be

               struct p9_rdma_context *c = (void *) (unsigned long) wc.wr_id;

 > ...
 > >  +static int
 > >  +post_recv(struct p9_trans *trans, struct p9_rdma_context *c)
 > >  +       wr.wr_id = (u64)c;

and this should be

	wr.wr_id = (unsigned long) c;

 > Ouch.  I get warnings on these two compiling on 32-bit systems.
--
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