[Intel-wired-lan] [PATCH S23 v4 14/15] ice: Change type for queue counts
Bowers, AndrewX
andrewx.bowers at intel.com
Wed Jul 31 17:40:11 UTC 2019
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Tony Nguyen
> Sent: Thursday, July 25, 2019 1:56 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH S23 v4 14/15] ice: Change type for queue
> counts
>
> From: Pawel Kaminski <pawel.kaminski at intel.com>
>
> These queue variables are being assigned values that are type u16.
> Change the local variables to match these types. Since these represent
> queue counts, they should never be negative.
>
> Signed-off-by: Pawel Kaminski <pawel.kaminski at intel.com>
> Signed-off-by: Tony Nguyen <anthony.l.nguyen at intel.com>
> ---
> v3: Change type back to u16
> Fix format specifiers and min_t type
> Redo commit message
>
> v2: Change type from u16 to unsigned int
> Reword commit message
> ---
> .../net/ethernet/intel/ice/ice_virtchnl_pf.c | 25 ++++++++++---------
> 1 file changed, 13 insertions(+), 12 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list