Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935117AbeAKRRh (ORCPT + 1 other); Thu, 11 Jan 2018 12:17:37 -0500 Received: from faui40.informatik.uni-erlangen.de ([131.188.34.40]:36537 "EHLO faui40.informatik.uni-erlangen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932372AbeAKRRg (ORCPT ); Thu, 11 Jan 2018 12:17:36 -0500 From: Fabian Huegel To: Oleg Drokin , Andreas Dilger , James Simmons , Lai Siyao , "John L . Hammond" , Greg Kroah-Hartman , devel@driverdev.osuosl.org, Ben Evans , NeilBrown Cc: lustre-devel@lists.lustre.org, linux-kernel@vger.kernel.org, linux-kernel@i4.cs.fau.de Subject: Date: Thu, 11 Jan 2018 18:16:54 +0100 Message-Id: <1515691022-22729-1-git-send-email-fabian_huegel@web.de> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: We cleaned up a lot of checkpatch errors and warnings in obd_class.h, but there are still some CHECKs and two warnings about flow control inside macros left. Changing those macros to inline functions would probably be a good idea, unfortunatly it's not straightforward since they use '#op' to print the name of the operation. We also did some aligning to make the code more readable and removed an unnecessary macro. We only tested, that the kernel still compiles and the lustre kernel module loads successfully, but given the harmless nature of these changes we don't expect any problems. The patches are based on the staging-testing branch of the staging tree.