From: Dan Carpenter
Sent: Tuesday, 5 March 2019 8:40
> Hello Omer Shpigelman,
>
> The patch 0feaf86d4e69: "habanalabs: add virtual memory and MMU
> modules" from Feb 16, 2019, leads to the following static checker
> warning:
>
> drivers/misc/habanalabs/memory.c:96 alloc_device_memory()
>
On Tue, Mar 05, 2019 at 08:34:50AM +, Omer Shpigelman wrote:
> From: Dan Carpenter
> Sent: Tuesday, 5 March 2019 8:40
> > Hello Omer Shpigelman,
> >
> > The patch 0feaf86d4e69: "habanalabs: add virtual memory and MMU
> > modules" from Feb 16, 2019, leads to the following static checker
> > wa
Hello Omer Shpigelman,
The patch 0feaf86d4e69: "habanalabs: add virtual memory and MMU
modules" from Feb 16, 2019, leads to the following static checker
warning:
drivers/misc/habanalabs/memory.c:96 alloc_device_memory()
warn: integer overflows '(args->alloc.mem_size + (page_size -