Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754046AbbLJPEJ (ORCPT ); Thu, 10 Dec 2015 10:04:09 -0500 Received: from faui40.informatik.uni-erlangen.de ([131.188.34.40]:58294 "EHLO faui40.informatik.uni-erlangen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753528AbbLJPEE (ORCPT ); Thu, 10 Dec 2015 10:04:04 -0500 From: =?UTF-8?q?Moritz=20K=C3=B6nig?= To: Ian Abbott , H Hartley Sweeten , Greg Kroah-Hartman , Colin Cronin , =?UTF-8?q?Moritz=20K=C3=B6nig?= , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Cc: Fabian Lang , linux-kernel@i4.cs.fau.de Subject: [PATCH 0/2] staging: COMEDI: checkpatch.pl cleanups in comedi.h Date: Thu, 10 Dec 2015 15:57:40 +0100 Message-Id: X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1283 Lines: 34 This patchset fixes all the warnings and legitimate checks of checkpatch.pl in comedi.h. The following warnings were fixed: * WARNING: Block comments use * on subsequent lines * WARNING: Block comments use a trailing */ on a separate line The following checks were fixed: * CHECK: spaces preferred around that '<<' (ctx:VxV) * CHECK: spaces preferred around that '>>' (ctx:VxV) * CHECK: spaces preferred around that '|' (ctx:VxV) The following checks are not legitimate here and were not fixed: * CHECK: spaces preferred around that '&' (ctx:VxV) This '&' is not a binary operator, but a referencing. * CHECK: Prefer using the BIT macro The author defined a BIT macro here. * CHECK: Avoid CamelCase: This refers to the unit 'milli ampere'. Moritz König (2): staging: COMEDI: Fixed the format of comments staging: COMEDI: Added missing spaces at binary operators drivers/staging/comedi/comedi.h | 232 +++++++++++++++++++++++----------------- 1 file changed, 131 insertions(+), 101 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/