Re: [PATCH 1/1] RDMA/rxe: Change the return type from int to bool

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

 



On Sat, Jan 11, 2025 at 11:27:58AM +0100, Zhu Yanjun wrote:
> The return type of the functions queue_full and queue_empty should be
> bool.
> 
> No functional changes.
> 
> Fixes: 8700e3e7c485 ("Soft RoCE driver")
> Signed-off-by: Zhu Yanjun <yanjun.zhu@xxxxxxxxx>
> ---
>  drivers/infiniband/sw/rxe/rxe_cq.c    | 2 +-
>  drivers/infiniband/sw/rxe/rxe_queue.h | 4 ++--
>  drivers/infiniband/sw/rxe/rxe_verbs.c | 6 +++---
>  3 files changed, 6 insertions(+), 6 deletions(-)

Let's not do change just for the sake of change.
This standalone patch has zero effect on the code, both from functionality
and readability point of views.

Thanks




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux