Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp5767124rwb; Tue, 9 Aug 2022 03:54:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR5Be7mT0N4gQIWZDDABxoHVeSoMoJubVwg5srr4CF2FrawPkK3nhFA+3SRj0mbNlpG4HtRn X-Received: by 2002:a17:907:2bf9:b0:730:7a66:71a3 with SMTP id gv57-20020a1709072bf900b007307a6671a3mr15786169ejc.623.1660042464450; Tue, 09 Aug 2022 03:54:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660042464; cv=none; d=google.com; s=arc-20160816; b=bWgE+RCrpeAGn9L+xKOseuZRiUE1odnsyKpLTiaOQFabwvBSAvx+GtPR9BwjL7hjUt gGuc5uc8dPj6wkYXpYmbigjlrA9T9xizP7AvUsqvGok+XvBQViJEmJSHsvmP532UpvzB kG7EFvsBofzzSccsWXTYbOBdQfNG0QQoXqfAZtM+6iKOuErvOKybO71RJVugnhvE9fA4 FJzoR+4Z3RC6u6ijH10CCT3PH1ZvzObaD+WaXNAjtAfInsfsnR3bxFYgKpoGYQ9WZwnt YtQ0GwSN2rQ/DpndFXxYudUd8r8NpewVuXl233dUdpBW7LywTpD0leN5LeHwcmWCzlpq akqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=YeZmWlJ57t/EqWJ2923+U6CuKUM3PGmeDKKJtSlBlkw=; b=Nvm+2IdprXU59fR46DUH+E34xvINqb9avdsMAA+1YhbAVBaTVGn8Qws3Z9m8bdAoNR 04xM/+OBG8CCczFIz/H3NdKsZZqlxujfuRgIpo2q2Yb3zbGUsWXFtqZRzP7LnluYAf0o bZjSnnmWbD/9KYvTeLJQE0xNeitFX7S/Xq4TbeJHDbegOmf6Juqc7MOBUu9uVrsBAzoG mO1N1+sT+kwy9DslwLS0ltSE9sjkpCwQSZKVrs5qnStBTwi9bKSLPrP3nvrBuO+ex3im 55bpCu7uJMRGESLHkn9Tkm+vcxggRUMCLrjhYnrPMRwac4ZZdP7c9Jzb8TMTX/sOXRJ+ dAzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=M6KMel1D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id go16-20020a1709070d9000b0072b4cba9671si1974171ejc.186.2022.08.09.03.53.59; Tue, 09 Aug 2022 03:54:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=M6KMel1D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242472AbiHIKfu (ORCPT + 99 others); Tue, 9 Aug 2022 06:35:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242476AbiHIKfh (ORCPT ); Tue, 9 Aug 2022 06:35:37 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9E82121827 for ; Tue, 9 Aug 2022 03:35:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1660041331; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YeZmWlJ57t/EqWJ2923+U6CuKUM3PGmeDKKJtSlBlkw=; b=M6KMel1DlIENY7/QnWM2fhj7SE2Qkh3bXhzJ3L2p+6SfhrhIUjdW6j200gfUZ+2nCLDuEH 30+vDe4AabZGbsjSpiU6Pu9yrKFsB83+p44R2a90jH1D6N2gCg0t59+dN5q0WLB6lFM+it Wicdrd4Y/93R1Mpy0q3E24f3Twz3ZOk= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-646-gL_V-U-1PGWUpjD-M0vfFg-1; Tue, 09 Aug 2022 06:35:30 -0400 X-MC-Unique: gL_V-U-1PGWUpjD-M0vfFg-1 Received: by mail-wm1-f70.google.com with SMTP id i6-20020a1c3b06000000b003a537064611so904299wma.4 for ; Tue, 09 Aug 2022 03:35:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=YeZmWlJ57t/EqWJ2923+U6CuKUM3PGmeDKKJtSlBlkw=; b=haojQH2YWCnTnSVCMl8N85pppeHZvea9etw08AXrT/bQJEM20gnjnXMbpgX3XszNxf aMVXnDugec1b3rx4ogRYWEsELO+r1F61yDcXV2rkH1gFHEpFodfoA9zRI4TGWDl7IDlz rQTd/LauKTXl+1SM4HOzg81zaKhvX49vsdZhGPESDMkzCIZczJt5FY1nMS/LlVei2ekx gQWcl/0iJorcQWlAkjTuSJaYoy6U5CCcvVenfOm62wcsRzD4UnmAM3JN15gVnkLFSS8l OrHfWplzbZW0Q4tdkVagd5FTXE/5DxS3dgX7zI3xr71GxUb+yNUEJtImSkxTItC8jO5A uo/w== X-Gm-Message-State: ACgBeo3yihPo8fYjtoXU/egjA/KszYMfGFqo0LNpPv+BAQP7cuKNWOx4 u2bWB6fAxB1unnUkfHa4RR+8Ypir2w24YVCylYoetMZuGsF4C7CZYuxjGhiahoyw/kLaF8DeNdg RDB0se4u/fLJ8qkVzwrvUhcEz X-Received: by 2002:adf:f346:0:b0:21f:13ec:cacf with SMTP id e6-20020adff346000000b0021f13eccacfmr13580125wrp.525.1660041329265; Tue, 09 Aug 2022 03:35:29 -0700 (PDT) X-Received: by 2002:adf:f346:0:b0:21f:13ec:cacf with SMTP id e6-20020adff346000000b0021f13eccacfmr13580110wrp.525.1660041329068; Tue, 09 Aug 2022 03:35:29 -0700 (PDT) Received: from redhat.com ([2.52.152.113]) by smtp.gmail.com with ESMTPSA id az25-20020a05600c601900b003a35516ccc3sm16299278wmb.26.2022.08.09.03.35.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Aug 2022 03:35:28 -0700 (PDT) Date: Tue, 9 Aug 2022 06:35:25 -0400 From: "Michael S. Tsirkin" To: Alexander Atanasov Cc: David Hildenbrand , Jason Wang , kernel@openvz.org, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 1/1] Create debugfs file with virtio balloon usage information Message-ID: <20220809063414-mutt-send-email-mst@kernel.org> References: <20220705083638.29669-1-alexander.atanasov@virtuozzo.com> <20220705045912-mutt-send-email-mst@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 05, 2022 at 12:01:58PM +0300, Alexander Atanasov wrote: > > > diff --git a/include/uapi/linux/virtio_balloon.h b/include/uapi/linux/virtio_balloon.h > > > index ddaa45e723c4..f3ff7c4e5884 100644 > > > --- a/include/uapi/linux/virtio_balloon.h > > > +++ b/include/uapi/linux/virtio_balloon.h > > > @@ -40,6 +40,7 @@ > > > /* Size of a PFN in the balloon interface. */ > > > #define VIRTIO_BALLOON_PFN_SHIFT 12 > > > +#define VIRTIO_BALLOON_PAGE_SIZE (1< > > #define VIRTIO_BALLOON_CMD_ID_STOP 0 > > > #define VIRTIO_BALLOON_CMD_ID_DONE 1 > > Did you run checkpatch on this? > > > Sure, i did: > > scripts/checkpatch.pl > ../outgoing/v4-0001-Create-debugfs-file-with-virtio-balloon-usage-inf.patch > total: 0 errors, 0 warnings, 108 lines checked > > ../outgoing/v4-0001-Create-debugfs-file-with-virtio-balloon-usage-inf.patch > has no obvious style problems and is ready for submission. Weird. There should be spaces around << I think. -- MST