[RFC] mips/swarm: fixup screen_info struct

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

 



|arch/mips/sibyte/swarm/setup.c:153:
| warning: large integer implicitly truncated to unsigned type

The field was changed in d9b26352 aka ("x86, setup: Store the boot
cursor state").
This patch changes the values back they way they were before this extra
field got introduced. I have no idea who needs it anyway.

Signed-off-by: Sebastian Andrzej Siewior <sebastian@xxxxxxxxxxxxx>
---
Using C99 initializer might be better

 arch/mips/sibyte/swarm/setup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/mips/sibyte/swarm/setup.c b/arch/mips/sibyte/swarm/setup.c
index 5277aac..128b699 100644
--- a/arch/mips/sibyte/swarm/setup.c
+++ b/arch/mips/sibyte/swarm/setup.c
@@ -150,7 +150,7 @@ void __init plat_mem_setup(void)
 		52,             /* orig_video_page */
 		3,              /* orig_video_mode */
 		80,             /* orig_video_cols */
-		4626, 3, 9,     /* unused, ega_bx, unused */
+		12, 12, 3, 9,   /* flags, unused, ega_bx, unused */
 		25,             /* orig_video_lines */
 		0x22,           /* orig_video_isVGA */
 		16              /* orig_video_points */
-- 
1.6.6.1



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux