linux-s390.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: linux-s390@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: arch/s390/kernel/ptrace.c:63:4: warning: left shift count >= width of type
Date: Wed, 12 Sep 2012 11:03:47 +0000	[thread overview]
Message-ID: <20120912110347.GB6170@localhost> (raw)

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

                 reply	other threads:[~2012-09-12 11:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120912110347.GB6170@localhost \
    --to=fengguang.wu@intel.com \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).