diff options
| author | Justin Tee <justin.tee@broadcom.com> | 2026-02-13 00:29:59 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2026-02-24 21:06:51 +0300 |
| commit | f8c599ad90f53dbe2246935f90ff49693c26b34f (patch) | |
| tree | e99e6d13e759a9bb894011e06724754a64c99ab9 /tools/lib/python | |
| parent | 5f442e54e9ef662aaad736ca1af13f20d0448f08 (diff) | |
| download | linux-f8c599ad90f53dbe2246935f90ff49693c26b34f.tar.xz | |
scsi: lpfc: Use min_t() instead of min() in lpfc_sli4_driver_resource_setup
The member called cfg_sg_dma_buf_size is declared as a u32, while the
min comparator's second argument called SLI4_PAGE_SIZE is a #define.
Proper comparison should be using the same type, therefore change to use
min_t.
Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://patch.msgid.link/20260212213008.149873-5-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
