Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754349AbcCBO1v (ORCPT ); Wed, 2 Mar 2016 09:27:51 -0500 Received: from smtp73.iad3a.emailsrvr.com ([173.203.187.73]:36006 "EHLO smtp73.iad3a.emailsrvr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751205AbcCBO1t (ORCPT ); Wed, 2 Mar 2016 09:27:49 -0500 X-Auth-ID: abbotti@mev.co.uk X-Sender-Id: abbotti@mev.co.uk From: Ian Abbott To: devel@driverdev.osuosl.org Cc: Greg Kroah-Hartman , Ian Abbott , H Hartley Sweeten , 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 Message-Id: <1456928858-6014-1-git-send-email-abbotti@mev.co.uk> X-Mailer: git-send-email 2.7.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 618 Lines: 13 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(-)