Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp570492ybt; Wed, 1 Jul 2020 05:19:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwnE02mut95JIDW4Gi9Enw0wXB0oTh8jYNyzGMxtWSvLd5ZKecwZt+IOaLAUbepNfheZ0rk X-Received: by 2002:a05:6402:1153:: with SMTP id g19mr28148785edw.127.1593605942625; Wed, 01 Jul 2020 05:19:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593605942; cv=none; d=google.com; s=arc-20160816; b=k3kdbjNaxH667owpdp88aJl1y/GxgWmhoikYDvrt5ff4KupNcZyXH3MO1HhKiO/u5T EF8jPR+5Ux+TzLEEdYR3E9uk/301pYLd3F4IL7Q6IfUsSPIqhoBmHgxuv1gTlCnGWo6O J37LS3r20OCwytVhDZpqzEoBiJ57fYlrldx6pPqNdMmaOpEx7apSdylyZXCc7EBYpe1z WdNwrlPZY3Z80813DKKfM/FPSNGazzOA2GG+AclGxQqUFm0hpEP+GdnWTtH0EzEKfgup yFtLjtw3CjaqS8IKMUwSH78z38lXsE2UVj81rDMEFMRwod40yVot5t9H0un6UxVJkhsY k3TA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=dAh+WxxDPzEjpjee9TDlavUWGR365oUL5vB3QUYR4qY=; b=gR8UJy9ApQhRBzeoyVt1AuJ6r2KzcXMl6UPb0HSIF+1lhDdNIT+DPp3w+5coozmZjT GIEAMxeiIFacrmyaPbqGeqsYhsLVHWE9PVSnow1mv5n169jnEE6dOMbZ3lN9ePSdq88Z XMvBdEPaA3XsLNsxp+qHpWYvyb2fjnaZ7x6STYvbwi61SCgfGmcPPUKZlfjJxQokeKSQ mx+TlCZMy6p9It/CL+RwuuRQ1BEiiqDHlSVteIcynSQc1QuBOBD9OXTbORe7GXc0XQRt It+OfGa227BTlVKFWMJoTINOM9CB0kB1cP7o/Zqz7GBeh0+O+0JUsUapLBNICUbDHOgi InAg== ARC-Authentication-Results: i=1; mx.google.com; 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 x70si4130370ede.405.2020.07.01.05.18.39; Wed, 01 Jul 2020 05:19:02 -0700 (PDT) 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; 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 S1730499AbgGAMQn (ORCPT + 99 others); Wed, 1 Jul 2020 08:16:43 -0400 Received: from mx2.suse.de ([195.135.220.15]:34576 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730205AbgGAMQm (ORCPT ); Wed, 1 Jul 2020 08:16:42 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 0E133ADE0; Wed, 1 Jul 2020 12:16:41 +0000 (UTC) From: Juergen Gross To: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com Cc: Juergen Gross , Boris Ostrovsky , Stefano Stabellini Subject: [PATCH v2 0/2] xen/xenbus: some cleanups Date: Wed, 1 Jul 2020 14:16:36 +0200 Message-Id: <20200701121638.19840-1-jgross@suse.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Avoid allocating large amount of data on the stack in xenbus_map_ring_valloc() and some related return value cleanups. Juergen Gross (2): xen/xenbus: avoid large structs and arrays on the stack xen/xenbus: let xenbus_map_ring_valloc() return errno values only drivers/xen/xenbus/xenbus_client.c | 167 ++++++++++++++--------------- 1 file changed, 81 insertions(+), 86 deletions(-) -- 2.26.2