arch/s390/kernel/ptrace.c:63:4: warning: left shift count >= width of type

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

 



FYI, a new compile warning in linux-next:

arch/s390/kernel/ptrace.c:63:4: warning: left shift count >= width of type [enabled by default]

vim +63 arch/s390/kernel/ptrace.c
    56		/* Take care of the enable/disable of transactional execution. */
    57		if (MACHINE_HAS_TE) {
    58			unsigned long cr0, cr0_new;
    59	
    60			__ctl_store(cr0, 0, 0);
    61			/* set or clear transaction execution bits 8 and 9. */
    62			if (task->thread.per_flags & PER_FLAG_NO_TE)
  > 63				cr0_new = cr0 & ~(3UL << 54);
    64			else
    65				cr0_new = cr0 | (3UL << 54);
    66			/* Only load control register 0 if necessary. */
    67			if (cr0 != cr0_new)
    68				__ctl_load(cr0_new, 0, 0);
    69		}

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu <wfg@xxxxxxxxxxxxxxx>                     Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux