Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753842AbcKRQtf (ORCPT ); Fri, 18 Nov 2016 11:49:35 -0500 Received: from [160.91.203.10] ([160.91.203.10]:50462 "EHLO smtp1.ccs.ornl.gov" rhost-flags-FAIL-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1752443AbcKRQtd (ORCPT ); Fri, 18 Nov 2016 11:49:33 -0500 From: James Simmons To: Greg Kroah-Hartman , devel@driverdev.osuosl.org, Andreas Dilger , Oleg Drokin Cc: Linux Kernel Mailing List , Lustre Development List , James Simmons Subject: [PATCH 00/10] checkpatch fixes and style cleanups for libcfs headers Date: Fri, 18 Nov 2016 11:48:34 -0500 Message-Id: <1479487724-20386-1-git-send-email-jsimmons@infradead.org> X-Mailer: git-send-email 1.7.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1715 Lines: 31 This patch set contains various cleanups that were reported with checkpatch. Also remove the NULL and 0 comparisons which is not kernel style. Lastly the uXX types are sorted out in the libcfs headers. Only the macro mess is left that needs cleaning up. James Simmons (10): staging: lustre: libcfs: fixup all header block comments staging: lustre: libcfs: remove header's bare unsigned use staging: lustre: libcfs: name parameters for function prototypes staging: lustre: libcfs: remove blank line in header staging: lustre: libcfs: correct spelling in libcfs_cpu.h staging: lustre: libcfs: use bit macro in libcfs headers staging: lustre: libcfs: remove whitespace in libcfs_fail.h staging: lustre: libcfs: remove NULL comparisons in headers staging: lustre: libcfs: remove zero comparisons in headers staging: lustre: libcfs: use uXX instead of __uXX types in headers .../staging/lustre/include/linux/libcfs/curproc.h | 20 +- .../staging/lustre/include/linux/libcfs/libcfs.h | 4 +- .../lustre/include/linux/libcfs/libcfs_cpu.h | 4 +- .../lustre/include/linux/libcfs/libcfs_crypto.h | 12 +- .../lustre/include/linux/libcfs/libcfs_fail.h | 53 ++++--- .../lustre/include/linux/libcfs/libcfs_hash.h | 183 ++++++++++--------- .../lustre/include/linux/libcfs/libcfs_private.h | 13 +- .../lustre/include/linux/libcfs/libcfs_string.h | 24 ++-- .../lustre/include/linux/libcfs/libcfs_workitem.h | 4 +- .../lustre/include/linux/libcfs/linux/linux-cpu.h | 8 +- .../lustre/include/linux/libcfs/linux/linux-time.h | 8 +- drivers/staging/lustre/lustre/obdclass/lu_object.c | 2 +- 12 files changed, 179 insertions(+), 156 deletions(-)