Re: [PATCH] staging: vt6655: Rename variable apTD0Rings

From: Dan Carpenter
Date: Thu Sep 12 2024 - 11:10:48 EST


On Thu, Sep 12, 2024 at 10:52:34PM +0800, b1n@xxxxxx wrote:
> diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h
> index 32d9cbd55222..32c51d794264 100644
> --- a/drivers/staging/vt6655/device.h
> +++ b/drivers/staging/vt6655/device.h
> @@ -135,7 +135,7 @@ struct vnt_private {
> struct vnt_tx_desc *apCurrTD[TYPE_MAXTD];
^^

> struct vnt_tx_desc *tail_td[TYPE_MAXTD];
>
> - struct vnt_tx_desc *apTD0Rings;
> + struct vnt_tx_desc *ap_td0_rings;
> struct vnt_tx_desc *apTD1Rings;
^^^
It's weird to have ap_td0_rings and apTD1Rings. They no longer match.

regards,
dan carpenter