drm/nouveau/pbus/hwsq: Make code size u16
authorRoy Spliet <rspliet@eclipso.eu>
Thu, 12 Mar 2015 19:43:23 +0000 (20:43 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 14 Apr 2015 07:00:49 +0000 (17:00 +1000)
So we can actually use the full 512 byte code space

Signed-off-by: Roy Spliet <rspliet@eclipso.eu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c

index b8853bf16b23ed9e9287f02e29e1c70ddb2e81c6..7622b41619a07dd7e72a25c1b2eaa089db4af286 100644 (file)
@@ -29,7 +29,7 @@ struct nvkm_hwsq {
        u32 data;
        struct {
                u8 data[512];
-               u8 size;
+               u16 size;
        } c;
 };