lkml.org 
[lkml]   [2021]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] staging: r8188eu: use max() and min() macros
On Thu, Nov 25, 2021 at 12:34:36AM +0530, Vihas Mak wrote:
> use max() and min() macros to fix following cocci warnings:
>
> drivers/staging/r8188eu/core/rtw_wlan_util.c:719: WARNING opportunity for min()
> drivers/staging/r8188eu/core/rtw_wlan_util.c:724: WARNING opportunity for max()
>
> Signed-off-by: Vihas Mak <makvihas@gmail.com>
> ---
> v1 -> v2:
> - fixed checkpatch issues (parenthesis alignment).

Looks good. Thanks!

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

regards,
dan carpenter

\
 
 \ /
  Last update: 2021-11-25 08:03    [W:0.030 / U:0.728 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site