Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 372166af authored by Antonino A. Daplas's avatar Antonino A. Daplas Committed by Linus Torvalds
Browse files

i810fb: the pseudo_palette is only 16 elements long



The pseudo_palette is only 16 elements long.

Signed-off-by: default avatarAntonino Daplas <adaplas@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f0e3ad44
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -266,7 +266,7 @@ struct i810fb_par {
	struct i810fb_i2c_chan   chan[3];
	struct i810fb_i2c_chan   chan[3];
	struct mutex		 open_lock;
	struct mutex		 open_lock;
	unsigned int		 use_count;
	unsigned int		 use_count;
	u32 pseudo_palette[17];
	u32 pseudo_palette[16];
	unsigned long mmio_start_phys;
	unsigned long mmio_start_phys;
	u8 __iomem *mmio_start_virtual;
	u8 __iomem *mmio_start_virtual;
	u8 *edid;
	u8 *edid;