Received: by 10.223.176.46 with SMTP id f43csp411897wra; Thu, 18 Jan 2018 19:38:07 -0800 (PST) X-Google-Smtp-Source: ACJfBouexR9Q2umVbXMsQREgcxpuBCUtzSCFEIS6Pvg2pj0hE0o9Eo0/uqPPyHpOd71xUjzueEX5 X-Received: by 10.99.3.71 with SMTP id 68mr33565242pgd.334.1516333087267; Thu, 18 Jan 2018 19:38:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516333087; cv=none; d=google.com; s=arc-20160816; b=Fdluyo7urTSof2CXzA0KQD28EPaNw9IWqaxSQD8ZNObyqaPtn8ZGvBdU5yaVXpQolL j8y9TNde89+0ciLuDF2NH9hm/H8HHjgHs4DTUWFhIMVMzQTd1j2d6swRZmpV6FN1XiOv s1e0mVmJJoh7TWl0F7nH8cDh197PFFSRZEPgJJyl+ZsS5Se7gDhNRhyQitZqL3CaNXgm dPeEdTPEEO2lcmNeXyFQofvx2e3scY2NQEZzVVYmE/WH2W5wE2M2lfb5l/d2SwbvxdFD wzi3SzihEnJ7v7t3ECxc+4mk8KgJbZ7/jzwRCbGejfNGdlpp7EKvUuBF/H8kyIVLkTxA PafA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :arc-authentication-results; bh=WcK5ZsKo9dD6F7ttbAJsJ27gFEiYVCDy2rlSRfl/Rao=; b=y3Yg/yTUb90Rzt7FhfKne04A8CrXaCFSKI6ZGIUQV40pohfb74CRgY8e3RWGBB1yo0 5yZtT3ffhigl++bC70h7vRFfOxbxn6coPq5yt/4Q3Rr8eRH+GZcTTS+7gxl2SDbTJtbq J3/LtrurbzGWsRb584NjPU7i28OI1hCqWDDB4fMdS3U+4ow3lKqXiy+YAfMsTvHoSpwh TAk64YVhDq4yWjwmmPljYAc8/bLxWkifVej743pKUrnIIKVssBR8Pr3F+y3GOnh4/5BI hmwOSqDgPGYnRf0BevD8kte0IjLvn1EVq2TumOvkcUVCLGP4urTKou2SzA/yBYo692X3 +UeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a9si7316399pgv.684.2018.01.18.19.37.53; Thu, 18 Jan 2018 19:38:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755446AbeASDgu convert rfc822-to-8bit (ORCPT + 99 others); Thu, 18 Jan 2018 22:36:50 -0500 Received: from mga03.intel.com ([134.134.136.65]:10437 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754972AbeASDgp (ORCPT ); Thu, 18 Jan 2018 22:36:45 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jan 2018 19:36:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,380,1511856000"; d="scan'208";a="11759615" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga006.jf.intel.com with ESMTP; 18 Jan 2018 19:36:44 -0800 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 18 Jan 2018 19:36:44 -0800 Received: from FMSMSX109.amr.corp.intel.com ([169.254.15.132]) by FMSMSX152.amr.corp.intel.com ([169.254.6.164]) with mapi id 14.03.0319.002; Thu, 18 Jan 2018 19:36:43 -0800 From: "Dilger, Andreas" To: Fabian Huegel CC: "Drokin, Oleg" , James Simmons , "Hammond, John" , "Greg Kroah-Hartman" , "devel@driverdev.osuosl.org" , Ben Evans , NeilBrown , Lustre Development List , Linux Kernel Mailing List , "linux-kernel@i4.cs.fau.de" , Christoph Volkert Subject: Re: [PATCH 6/8] staging: lustre: Fix overlong lines Thread-Topic: [PATCH 6/8] staging: lustre: Fix overlong lines Thread-Index: AQHTiwAg/T94fQ/Vd0a4ZwJqdCJkz6NvcBcAgAutdgA= Date: Fri, 19 Jan 2018 03:36:43 +0000 Message-ID: <00C20AD1-618E-4F27-8DA1-4D6C4339CFFA@intel.com> References: <1515691022-22729-1-git-send-email-fabian_huegel@web.de> <1515691022-22729-7-git-send-email-fabian_huegel@web.de> In-Reply-To: <1515691022-22729-7-git-send-email-fabian_huegel@web.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.28.49] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Jan 11, 2018, at 10:17, Fabian Huegel wrote: > > Fixed four lines that went over the 80 character limit > to reduce checkpatch warnings. > > Signed-off-by: Fabian Huegel > Signed-off-by: Christoph Volkert > --- > drivers/staging/lustre/lustre/include/obd_class.h | 14 ++++++++++---- > 1 file changed, 10 insertions(+), 4 deletions(-) > > diff --git a/drivers/staging/lustre/lustre/include/obd_class.h b/drivers/staging/lustre/lustre/include/obd_class.h > index d195866..06f825b 100644 > --- a/drivers/staging/lustre/lustre/include/obd_class.h > +++ b/drivers/staging/lustre/lustre/include/obd_class.h > @@ -850,7 +850,9 @@ static inline int obd_pool_del(struct obd_device *obd, char *poolname) > return rc; > } > > -static inline int obd_pool_add(struct obd_device *obd, char *poolname, char *ostname) > +static inline int obd_pool_add(struct obd_device *obd, > + char *poolname, > + char *ostname) This only needs a single field moved onto the next line, like: +static inline int obd_pool_add(struct obd_device *obd, char *poolname, + char *ostname) > @@ -861,7 +863,9 @@ static inline int obd_pool_add(struct obd_device *obd, char *poolname, char *ost > return rc; > } > > -static inline int obd_pool_rem(struct obd_device *obd, char *poolname, char *ostname) > +static inline int obd_pool_rem(struct obd_device *obd, > + char *poolname, > + char *ostname) Same. > @@ -997,7 +1001,8 @@ static inline int obd_statfs(const struct lu_env *env, struct obd_export *exp, > spin_unlock(&obd->obd_osfs_lock); > } > } else { > - CDEBUG(D_SUPER, "%s: use %p cache blocks %llu/%llu objects %llu/%llu\n", > + CDEBUG(D_SUPER, > + "%s: use %p cache blocks %llu/%llu objects %llu/%llu\n", > obd->obd_name, &obd->obd_osfs, > obd->obd_osfs.os_bavail, obd->obd_osfs.os_blocks, > obd->obd_osfs.os_ffree, obd->obd_osfs.os_files); > @@ -1579,7 +1584,8 @@ int class_procfs_init(void); > int class_procfs_clean(void); > > /* prng.c */ > -#define ll_generate_random_uuid(uuid_out) get_random_bytes(uuid_out, sizeof(class_uuid_t)) > +#define ll_generate_random_uuid(uuid_out) \ > + get_random_bytes(uuid_out, sizeof(class_uuid_t)) This looks like it would be better to replace ll_generate_random_uuid() callers with generate_random_uuid(). Cheers, Andreas -- Andreas Dilger Lustre Principal Architect Intel Corporation