Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[SCSI] st: fix gcc 4.4 warning

This patch fixes the GCC 4.4 warning reported by David Binderman and Sergey
Senozhatsky. The old version was working correctly but was not easy to read.

Signed-off-by: Kai Makisara <kai.makisara@kolumbus.fi>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

authored by

Kai Makisara and committed by
James Bottomley
1da2019f 5c10e63c

+1 -1
+1 -1
drivers/scsi/st.c
··· 2964 2964 !(STp->use_pf & PF_TESTED)) { 2965 2965 /* Try the other possible state of Page Format if not 2966 2966 already tried */ 2967 - STp->use_pf = !STp->use_pf | PF_TESTED; 2967 + STp->use_pf = (STp->use_pf ^ USE_PF) | PF_TESTED; 2968 2968 st_release_request(SRpnt); 2969 2969 SRpnt = NULL; 2970 2970 return st_int_ioctl(STp, cmd_in, arg);