Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4074352imm; Mon, 6 Aug 2018 16:23:52 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf6/AJ2b1qa+dZdm9vRNlgFjw7AQa85UjPmv2WyZCJrLpdy+8a39IXpgJZnRXLPnnBEo/FW X-Received: by 2002:a63:380d:: with SMTP id f13-v6mr16358852pga.124.1533597831962; Mon, 06 Aug 2018 16:23:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533597831; cv=none; d=google.com; s=arc-20160816; b=JrSkpz9nlaDo8zykxv3OvMPO3T3F6DKb/SiwhFZ+OXOQZ4LYG+9+M9ClMytzpFiSM/ KCIu1ZoixlnkDsHlyYCm4vBL4YWmjrXWqGWRDFFG4uiDm+nIyATw5gTRQAe6e5Spx57q 4RaFylmyakQ0sjMBjfbVyI34IzWOF0jvnvWvq1zQBov6SwSxnh2tnLeGJWWwIYaiIJQg n2sZxXqzhjIkOH0Z/XuKNQ10MKgDJUWGVaSBfKQFdkhiLbZaD1tTEzSim+n6WzwgHHF+ B6b/lDMr+/Dbx/EucnYk6osj8CCPWn34/Dc2GbZWJAJDAfbiS5yTiq4PXoA6NkBAxTVR MuXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:arc-authentication-results; bh=7JDsVx26VDkhyLDoyK4AtcsREm2twiehdV3FApkcXA4=; b=acZ47C+q/efQ4dwroBJEB60rWe4gUXRXLr09AG9tfreRwwZmVKiyk/o5+tBJfiUFCR D9vg28uZDFlBJJYDZRLB4ohrCnelzMZsVHKJ1FU5Lg2mfDV9cxOTA3SlNpfxTaMjl6K3 6r7QRlwEhngUwtI05bwgCk+FGPujRFFl7Xtzu8vlZN7VYopwnEcoZDqUwpozbEAvbFRB KYmU6OiKEek6fo1Z7NVwp/ypfoUni8Att8lch4Fz3rLm6KtgA+UqFYTUIY9/Bqd9tQXq rGWRgEBA6TLBNCXatcZWZH8h0otTotCOhTjN+PmiMSnQhTG28lVKrcQBBcLfdnm70pli ePDQ== 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 n2-v6si11842197pge.74.2018.08.06.16.23.37; Mon, 06 Aug 2018 16:23:51 -0700 (PDT) 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 S2387844AbeHGBaZ (ORCPT + 99 others); Mon, 6 Aug 2018 21:30:25 -0400 Received: from g2t1383g.austin.hpe.com ([15.233.16.89]:14094 "EHLO g2t1383g.austin.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730444AbeHGBaZ (ORCPT ); Mon, 6 Aug 2018 21:30:25 -0400 Received: from g4t3425.houston.hpe.com (g4t3425.houston.hpe.com [15.241.140.78]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by g2t1383g.austin.hpe.com (Postfix) with ESMTPS id 2CECCDC7; Mon, 6 Aug 2018 23:19:03 +0000 (UTC) Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g4t3425.houston.hpe.com (Postfix) with ESMTP id 065728D; Mon, 6 Aug 2018 23:19:02 +0000 (UTC) Received: from anatevka.americas.hpqcorp.net (anatevka.americas.hpqcorp.net [10.34.81.6]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id 70A275D; Mon, 6 Aug 2018 23:19:01 +0000 (UTC) Date: Mon, 6 Aug 2018 17:19:01 -0600 From: Jerry Hoemann To: Guenter Roeck Cc: wim@linux-watchdog.org, linux-watchdog@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/4] watchdog: hpwdt: Display module parameters. Message-ID: <20180806231901.GA32467@anatevka.americas.hpqcorp.net> Reply-To: Jerry.Hoemann@hpe.com References: <1533244541-42310-1-git-send-email-jerry.hoemann@hpe.com> <1533244541-42310-4-git-send-email-jerry.hoemann@hpe.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Aug 04, 2018 at 06:13:20PM -0700, Guenter Roeck wrote: > On 08/02/2018 02:15 PM, Jerry Hoemann wrote: > > Print module parameters when the driver is loaded. > > > > Signed-off-by: Jerry Hoemann > > --- > > drivers/watchdog/hpwdt.c | 5 +++-- > > 1 file changed, 3 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/watchdog/hpwdt.c b/drivers/watchdog/hpwdt.c > > index 8a85ddd..f098371 100644 > > --- a/drivers/watchdog/hpwdt.c > > +++ b/drivers/watchdog/hpwdt.c > > @@ -326,8 +326,9 @@ static int hpwdt_init_one(struct pci_dev *dev, > > } > > dev_info(&dev->dev, "HPE Watchdog Timer Driver: %s" > > - ", timer margin: %d seconds (nowayout=%d).\n", > > - HPWDT_VERSION, hpwdt_dev.timeout, nowayout); > > + ", timeout : %d seconds (nowayout=%d) pretimeout=%s.\n", > > + HPWDT_VERSION, hpwdt_dev.timeout, nowayout, > > + pretimeout ? "on" : "off"); > When touching that, you might as well address > > WARNING: quoted string split across lines k. Think I'll split into two dev_info calls as line is too long to fit into 80 chars w/o splitting. > > Why did you add a space before ':' ? Personal preference ? I think you're referring to "timeout : %d seconds". Bad editting when going from "timer margin:" to "timeout :". I'll fix. If you referring to the spaces around the ternary operator, that is in coding-style although checkpatch accepts w/o spaces around the operators. > > Guenter > > > if (dev->subsystem_vendor == PCI_VENDOR_ID_HP_3PAR) > > ilo5 = true; > > -- ----------------------------------------------------------------------------- Jerry Hoemann Software Engineer Hewlett Packard Enterprise -----------------------------------------------------------------------------