Re: [PATCH] mtd: spi: flash_is_unlocked return values fix

2023-12-18 Thread Jagan Teki
On Fri, Oct 27, 2023 at 9:22 PM Stanislav Bolshakov wrote: > > In accordance with the name of the function 'flash_is_unlocked()', > it is implied that the return value will be either 'true' or 'false'. > Moreover, calling this function from other parts of the program is > based precisely on this

[PATCH] mtd: spi: flash_is_unlocked return values fix

2023-10-27 Thread Stanislav Bolshakov
In accordance with the name of the function 'flash_is_unlocked()', it is implied that the return value will be either 'true' or 'false'. Moreover, calling this function from other parts of the program is based precisely on this fact. The value of the pointer to the actual called function