* arch/s390/kernel/ptrace.c:63:4: warning: left shift count >= width of type
@ 2012-09-12 11:03 Fengguang Wu
0 siblings, 0 replies; only message in thread
From: Fengguang Wu @ 2012-09-12 11:03 UTC (permalink / raw)
To: linux-s390, kernel-janitors
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@linux.intel.com> Intel Corporation
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-09-12 11:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-12 11:03 arch/s390/kernel/ptrace.c:63:4: warning: left shift count >= width of type Fengguang Wu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).