From: Paul Fulghum Fix incorrect variable size used to hold register value. This bug might wipe out a portion of the TCR value when setting the interface options. Signed-off-by: Paul Fulghum Signed-off-by: Andrew Morton --- drivers/char/synclink_gt.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/char/synclink_gt.c~synclink_gt-fix-size-of-register-value-storage drivers/char/synclink_gt.c --- 25/drivers/char/synclink_gt.c~synclink_gt-fix-size-of-register-value-storage Tue Jan 17 15:30:43 2006 +++ 25-akpm/drivers/char/synclink_gt.c Tue Jan 17 15:30:43 2006 @@ -2630,7 +2630,7 @@ static int get_interface(struct slgt_inf static int set_interface(struct slgt_info *info, int if_mode) { unsigned long flags; - unsigned char val; + unsigned short val; DBGINFO(("%s set_interface=%x)\n", info->device_name, if_mode)); spin_lock_irqsave(&info->lock,flags); _