[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191024012849.GB32358@infradead.org>
Date: Wed, 23 Oct 2019 18:28:49 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Omer Shpigelman <oshpigelman@...ana.ai>
Cc: Christoph Hellwig <hch@...radead.org>,
"oded.gabbay@...il.com" <oded.gabbay@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 1/2] habanalabs: support kernel memory mapping
On Wed, Oct 23, 2019 at 01:39:41PM +0000, Omer Shpigelman wrote:
> I'm not sure I understand. Can you please pin point the problematic line?
Every line you touch addr field basically. If you have a kernel
address please store it in an actual C pointer type, not in a u64
to ensure that the compiler can do proper type checking.
Powered by blists - more mailing lists