The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Ian Abbott <abbotti@mev.co.uk>
To: devel@driverdev.osuosl.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Ian Abbott <abbotti@mev.co.uk>,
	H Hartley Sweeten <hsweeten@visionengravers.com>,
	linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] staging: comedi: comedi.h: Avoid BIT macro
Date: Wed,  2 Mar 2016 14:27:36 +0000	[thread overview]
Message-ID: <1456928858-6014-1-git-send-email-abbotti@mev.co.uk> (raw)

Patch 1 effectively reverts commit 72315cdaba9d on linux-next "Staging:
comedi: Prefer using the BIT macro"), but I replaced the use of the BIT
macro with hexadecimal constants instead of the original left bit-shift
expressions.  We shouldn't use the BIT macro in "comedi.h" as it is
intended to be included in the UAPI headers.

Patch 2 just fixes the kernel-doc comment for struct comedi_krange.

1) staging: comedi: comedi.h: Do not use BIT macro
2) staging: comedi: comedi.h: Fix comment for struct comedi_krange

 drivers/staging/comedi/comedi.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

             reply	other threads:[~2016-03-02 14:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-02 14:27 Ian Abbott [this message]
2016-03-02 14:27 ` [PATCH 1/2] staging: comedi: comedi.h: Do not use BIT macro Ian Abbott
2016-03-02 14:27 ` [PATCH 2/2] staging: comedi: comedi.h: Fix comment for struct comedi_krange Ian Abbott
2016-03-02 16:21 ` [PATCH 0/2] staging: comedi: comedi.h: Avoid BIT macro Hartley Sweeten

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=1456928858-6014-1-git-send-email-abbotti@mev.co.uk \
    --to=abbotti@mev.co.uk \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=hsweeten@visionengravers.com \
    --cc=linux-kernel@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