drv: always mask segment_size
The max_segment_size must be a multiple of PAGE_SIZE. So mask it with
PAGE_MASK to avoid problems.
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>
Showing
Please
register
or
sign in
to comment
The max_segment_size must be a multiple of PAGE_SIZE. So mask it with
PAGE_MASK to avoid problems.
Signed-off-by: Federico Vaga <federico.vaga@cern.ch>