Re: [PATCH v3] staging: vme_user: added bound check to geoid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 27, 2024 at 06:26:05PM +0530, Riyan Dhiman wrote:
> The geoid is a module parameter that allows users to hardcode the slot number.
> A bound check for geoid was added in the probe function because only values
> between 0 and less than VME_MAX_SLOT are valid.
> 
> Signed-off-by: Riyan Dhiman <riyandhiman14@xxxxxxxxx>
> ---
> v3: Fix commit message and remove redundant comment.
> v2: Removed unnecessary paranthesis and changed pr_err to dev_err.
> v1: Added bound check to geoid
> 

Thanks!

Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

regards,
dan carpenter





[Index of Archives]     [Linux Driver Development]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux