From nobody Fri May 3 07:12:27 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1604614876; cv=none; d=zohomail.com; s=zohoarc; b=mE49o3ErNacGwSCJ7AQ3u5707E6G6zmjiZ2Xlc6YlSoEhNsiW/ZwnKQOn+EPA4mpJ5YlvmaZmpqL18Q+5FAkb1O8WMZMKTvc0sF0CFlbixHZKNF0J+3I2fpInjVisVn0vbXl/hkyqNK62oXGW1GsSZ6Dyv91VwfJVGyt3gvKktc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1604614876; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=scB+ZQ0Vgz5eoYa3G12m1YNp2O5wi3ikOEohV6QqFlk=; b=AYp6/f8gmqK6dCyisz1VaZ31fqgugilYDv+mSU4R+TGmHkeW0rlDhkLcJleHRMbpeKQjD1TKzA/nIzdsRDLg9lStfYTliZIN102UIseKf8m8K772jLs247Mm7teOEX/hYgv2DT4RKnvQQ8avqJW3kxTdzC2egiS0MSo6H0CIG/s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1604614876335145.41908207295705; Thu, 5 Nov 2020 14:21:16 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-585-ssEX8hvLO--BtDbe6fY-yQ-1; Thu, 05 Nov 2020 17:21:13 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A424F18A6282; Thu, 5 Nov 2020 22:21:05 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 32AEA26160; Thu, 5 Nov 2020 22:21:03 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id B897218199F7; Thu, 5 Nov 2020 22:20:56 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0A5MKtK7006432 for ; Thu, 5 Nov 2020 17:20:55 -0500 Received: by smtp.corp.redhat.com (Postfix) id 292651001901; Thu, 5 Nov 2020 22:20:55 +0000 (UTC) Received: from antique-work.redhat.com (ovpn-114-242.ams2.redhat.com [10.36.114.242]) by smtp.corp.redhat.com (Postfix) with ESMTP id A08D410016DA for ; Thu, 5 Nov 2020 22:20:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1604614875; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=scB+ZQ0Vgz5eoYa3G12m1YNp2O5wi3ikOEohV6QqFlk=; b=fDhGklcheLxjsOXhHvCDPqd1w6S91QyeZn26dmFNENs0AzdYH0VAgf1J/ieydGiVAQSM58 WcE+9d3cB3P2hcD1rSfJZ4+Z6sEGZ2kXwUHZROuTuf5UU9Sks9lsmdFipWHVKC1Jt6JkfH m5ql9ok7LOdfHD4gdBE/aH3clrQZtdg= X-MC-Unique: ssEX8hvLO--BtDbe6fY-yQ-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH] vircgrouppriv: fix ATTRIBUTE_NONNULL for virCgroupNewDomainPartition Date: Thu, 5 Nov 2020 23:20:50 +0100 Message-Id: <8f0f6ff08211ace1dabc2c6a93befe60edaa97e1.1604614650.git.phrdina@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Commit <99d2c6519ad18651b5959fa0a3366bcb2c1e44f3> removed parameter from the function but did not modified ATTRIBUTE_NONNULL. Reported-by: John Ferlan Signed-off-by: Pavel Hrdina --- Pushed under trivial rule. src/util/vircgrouppriv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/vircgrouppriv.h b/src/util/vircgrouppriv.h index 77e01519b0..baa84550f4 100644 --- a/src/util/vircgrouppriv.h +++ b/src/util/vircgrouppriv.h @@ -124,7 +124,7 @@ int virCgroupNewDomainPartition(virCgroupPtr partition, const char *driver, const char *name, virCgroupPtr *group) - ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(5); + ATTRIBUTE_NONNULL(1) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(4); =20 int virCgroupRemoveRecursively(char *grppath); =20 --=20 2.26.2