Re: [PATCH v2 1/2] habanalabs: support kernel memory mapping
From: Christoph Hellwig
Date: Wed Oct 23 2019 - 21:28:53 EST
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.