search for: nvif_sclass

Displaying 3 results from an estimated 3 matches for "nvif_sclass".

Did you mean: nvif_mclass
2018 Jun 15
2
[PATCH] drm/nouveau/nvif: remove const attribute from nvif_mclass
...vers/gpu/drm/nouveau/include/nvif/object.h +++ b/drivers/gpu/drm/nouveau/include/nvif/object.h @@ -78,7 +78,7 @@ struct nvif_mclass { #define nvif_mclass(o,m) ({ \ struct nvif_object *object = (o); \ struct nvif_sclass *sclass; \ - const typeof(m[0]) *mclass = (m); \ + typeof(m[0]) *mclass = (m); \ int ret = -ENODEV; \ int cnt, i, j;...
2018 Jun 15
0
[PATCH] drm/nouveau/nvif: remove const attribute from nvif_mclass
...ect.h > +++ b/drivers/gpu/drm/nouveau/include/nvif/object.h > @@ -78,7 +78,7 @@ struct nvif_mclass { > #define nvif_mclass(o,m) ({ \ > struct nvif_object *object = (o); \ > struct nvif_sclass *sclass; \ > - const typeof(m[0]) *mclass = (m); \ > + typeof(m[0]) *mclass = (m); \ Sorry, this messes up the spaces at the end, will send a v2. > int...
2018 Jun 15
1
[PATCH v2] drm/nouveau/nvif: remove const attribute from nvif_mclass
...vers/gpu/drm/nouveau/include/nvif/object.h +++ b/drivers/gpu/drm/nouveau/include/nvif/object.h @@ -78,7 +78,7 @@ struct nvif_mclass { #define nvif_mclass(o,m) ({ \ struct nvif_object *object = (o); \ struct nvif_sclass *sclass; \ - const typeof(m[0]) *mclass = (m); \ + typeof(m[0]) *mclass = (m); \ int ret = -ENODEV; \ int cnt, i, j;...