Re: [PATCH] drm/nouveau/nvkm: refine the device SKU enum

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

 



On Thu, Oct 17, 2024 at 04:24:54AM -0700, Zhi Wang wrote:
> NVKM uses a enum called "card_type" to represent the device SKU in the
> code. Within the enum, each device SKU is represent like NV_10, AD100, etc.
> 
> Many concerns were raised due to over-short SKU enums can conflicts with
> other local enums and a prefix is also required as an identifier of
> namespace of a driver.
> 
> Rename enum "card_type" to "sku". Add the prefix NVKM_DEVICE_ before each
> device SKU inside the enum and some other coding format tweaks to make
> checkpatch.pl happy.
> 
> No functional change is intended.
> 
> Signed-off-by: Zhi Wang <zhiw@xxxxxxxxxx>

Nice, thanks for doing this.

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux