Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp82068pxu; Tue, 24 Nov 2020 19:37:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJxHkidA3k62+eO8wFXocF01hrTuv6Il5/Fo+qcky3vMSkfU+vdjv64kwWZAtAN3sHMF+v1W X-Received: by 2002:a05:6402:1804:: with SMTP id g4mr1628701edy.7.1606275429313; Tue, 24 Nov 2020 19:37:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606275429; cv=none; d=google.com; s=arc-20160816; b=BPkywUgU6bUFJqzZe6+E1lOCw3N7IDVCrXM1+vvDLx6nflSTmpw+Ua8RU7r5/0XI16 Ok0pY7yA13zwK4g840TeR4dkHCbHcHJTnSijCgo9PCSfsSUG7M0A/+PcKuuWn20DSvXE YTUiOWntUzdxwuwFN8oJnp0u110/cjLZxJ3Q7M0SVy3x7GbGUjwRsmctV5X8M8noJFGw 3LY6FVZTNJAVSKR4tkZ1GJF2xmis4hXrY0Q/iv1yxRZwOkCkDDVGV3qlpbLtp8mMbTiz HWsFi9e5PuBGS8EW9W5wR1KDqXYZuvwsAA55CoqtrcOPvSarL9on7MeQ58eJRDOhJ6mR MI6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=AuQ5LHVenT9NhVg4zxvlu9vnC9I7Jc0vaVgfBXpQC7w=; b=rLaFeDuJNOXCSQD2jmYUW/Z/wja/QcqzKulEMDdrzPvFu2/Ve5BL/H+lRaBt/jl7Dm isfQzXCHwNulDrqhjMksjntASEUT/UbOmY+VZAaNNg1xvb3FzsLoVTaUSBGlEBwKhiQq vf5PHE0ljt47qk8M1gSDRVGghqXhpIgKjZ6wLkEJueJ/G3CLLV/P8wfq6aF35z22ErO6 dCW/TM8ifoYnQqpEvY4m2AGEmrD7Df4V/h8iKAFKO8qSA4EeNIWyLV01egWXPpKsOB1C VsacE2M4nUqmeuZP6P88PEzERndgd7R+kzKJGxrf4vzjyP+QOQLeA4kTC2zct+gGfl4p dxLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@castello.eng.br header.s=default header.b=XezM7wfy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k1si414171edf.460.2020.11.24.19.36.46; Tue, 24 Nov 2020 19:37:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@castello.eng.br header.s=default header.b=XezM7wfy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726885AbgKYDem (ORCPT + 99 others); Tue, 24 Nov 2020 22:34:42 -0500 Received: from gateway33.websitewelcome.com ([192.185.146.97]:13805 "EHLO gateway33.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725876AbgKYDem (ORCPT ); Tue, 24 Nov 2020 22:34:42 -0500 X-Greylist: delayed 1210 seconds by postgrey-1.27 at vger.kernel.org; Tue, 24 Nov 2020 22:34:41 EST Received: from cm16.websitewelcome.com (cm16.websitewelcome.com [100.42.49.19]) by gateway33.websitewelcome.com (Postfix) with ESMTP id F1ABEDC6B6B for ; Tue, 24 Nov 2020 21:14:30 -0600 (CST) Received: from br164.hostgator.com.br ([192.185.176.180]) by cmsmtp with SMTP id hlGIkdIpwfAtahlGIkUml5; Tue, 24 Nov 2020 21:14:30 -0600 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=castello.eng.br; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=AuQ5LHVenT9NhVg4zxvlu9vnC9I7Jc0vaVgfBXpQC7w=; b=XezM7wfysdhBowRbF40sPS4PsW G7keS0tsTgFGYlQ97hCu+8mi84WK5pCl+5Tgyj8OXKkobqGWFAki7JMtwTvNAxSJpQjnBbWwy8iPf HAhsoKjSqhFs2cb+6r87OAbcuEHfZ7ZRB7hiWHM/lvvJm4BOnXqe5pRm/lIZcLTTMWJs9pTn44/Dk 7ivT6i/2AWJVARccSGyKAFvaJuPb7b4JEObjUEhPt1TppWq07qieqcJYAZahw/yENBJb4XiQEIomf Njus1ilkP5zSkIAZy87JTMWp46CrMHto7fiUc0UQIPwa1pndJ8oQouMfj9heCLLvTD3ioZFrz6Rp2 bhzobqeg==; Received: from 179-197-124-241.ultrabandalargafibra.com.br ([179.197.124.241]:60601 helo=[192.168.1.69]) by br164.hostgator.com.br with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1khlGI-0031Q2-K1; Wed, 25 Nov 2020 00:14:30 -0300 Subject: Re: [PATCH 4/6] drivers: hv: vmbus: Fix checkpatch SPLIT_STRING To: Joe Perches , Michael Kelley Cc: "sashal@kernel.org" , Tianyu Lan , Dexuan Cui , Sunil Muthuswamy , "linux-hyperv@vger.kernel.org" , "linux-kernel@vger.kernel.org" , KY Srinivasan , Haiyang Zhang , "wei.liu@kernel.org" , Stephen Hemminger References: <20201115195734.8338-1-matheus@castello.eng.br> <20201115195734.8338-5-matheus@castello.eng.br> <60b60d026a0636090b1617c6fd9e7b3a88013a7f.camel@perches.com> From: Matheus Castello Message-ID: <9be574bf-570d-c813-f18f-9ba5214021e1@castello.eng.br> Date: Wed, 25 Nov 2020 00:14:28 -0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <60b60d026a0636090b1617c6fd9e7b3a88013a7f.camel@perches.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: pt-BR Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - br164.hostgator.com.br X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - castello.eng.br X-BWhitelist: no X-Source-IP: 179.197.124.241 X-Source-L: No X-Exim-ID: 1khlGI-0031Q2-K1 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 179-197-124-241.ultrabandalargafibra.com.br ([192.168.1.69]) [179.197.124.241]:60601 X-Source-Auth: matheus@castello.eng.br X-Email-Count: 8 X-Source-Cap: Y2FzdGUyNDg7Y2FzdGUyNDg7YnIxNjQuaG9zdGdhdG9yLmNvbS5icg== X-Local-Domain: yes Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em 11/24/2020 11:56 PM, Joe Perches escreveu: > On Tue, 2020-11-24 at 21:54 -0300, Matheus Castello wrote: >>>> diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c > [] >>> The above would be marginally better if organized as follows so that the >>> main execution path isn't in an "if" clause. Also reduces indentation. >>> >>> hv_panic_page = (void *)hv_alloc_hyperv_zeroed_page(); >>> if (!hv_panic_page) { >>> pr_err("Hyper-V: panic message page memory allocation failed"); > > And nicer to add a terminating newline to the format like the pr_err below. > Oops, sending v3. Thanks Joe Perches! >>> return; >>> } >>> ret = kmsg_dump_register(&hv_kmsg_dumper); >>> if (ret) { >>> pr_err("Hyper-V: kmsg dump register error 0x%x\n", ret); >>> hv_free_hyperv_page((unsigned long)hv_panic_page); >>> hv_panic_page = NULL; >>> } > >