Re: [PATCH v1 2/2] misc: fastrpc: Fix copy buffer page size

2024-12-18 Thread Dmitry Baryshkov
On Wed, Dec 18, 2024 at 03:54:29PM +0530, Ekansh Gupta wrote: > For non-registered buffer, fastrpc driver copies the buffer and > pass it to the remote subsystem. There is a problem with current > implementation of page size calculation which is not considering > the offset in the calculation. This

[PATCH v1 2/2] misc: fastrpc: Fix copy buffer page size

2024-12-18 Thread Ekansh Gupta
For non-registered buffer, fastrpc driver copies the buffer and pass it to the remote subsystem. There is a problem with current implementation of page size calculation which is not considering the offset in the calculation. This might lead to passing of improper and out-of-bounds page size which c