Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp1864617pxb; Fri, 10 Sep 2021 16:26:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpDh9yErPeX/pel/N8m9Aa4imgJxBhqV3e2FZB0Fp4lrO3ITGViJ6zsQairX1tiCXwJQ8V X-Received: by 2002:a05:6e02:ef4:: with SMTP id j20mr106321ilk.294.1631316401612; Fri, 10 Sep 2021 16:26:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631316401; cv=none; d=google.com; s=arc-20160816; b=F0z8G/RW1xS3A+Hw+Q6Mldf3d3uMlzsZ3y8QncD3Dtk+Kngg3iRG8nzGAnaEUW7AWZ qQ8uOqY/i0q7geAtUsGRdqux7rayJ3xsMNkKbO1LhHnWZbB7GftDFHX7Ol3L/Fp1Bj6m dJhM6Tw3plCcf5TP7btqbtEiKAYh5Tlw7q982tIIfJaQsBrEOn8Ux8y/m6CFhPkFOb+P ahuR5/7qCTdDyXrhgT8EV6sFrBO44V72elpXa1tpRqOPuWYBNCpVW7MD4+6idrpiPOBn bQZ5kEokU2EDCFu7OQtESb4Mo8I2XnuFG+sy/7D9Lc7TnwTO8kpH0wddyVZfRkWSv6Na RdMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=gXMqEeLHeweU61AxC4PCdT3t68zcm3Uy3IDI+N/JJvM=; b=hrzw0ugA2tloxA9pOX0hQCz3nzIMjGa4szmjakDhrzLghDspEmfbD891STsrPZMEEo /ZKY+5QKhExRzG13QUDdhbngqQWpnkK7j1T0flF+u1JKF3ID36CWmJOCnGHQJdBMb5Hz w4yROpUBwUS132IXiyUpvMVZycyzGxDHq2r6roCjFRCUgwGYQ1e9CrHkJkZjID81te5p ybtSL2UrVykPZu9zXnL4Om75y6asqqb2EAUUtAKuCtBKkKUil20sse6TkvosfpSBDoui hoLgqIZmQkjDE1GNdU198ur3+XnK76+034TrachejW05JEd58qNhM8KsKbF/pzV0XD+N YIgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=smsy9tlu; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u20si106038jao.113.2021.09.10.16.26.30; Fri, 10 Sep 2021 16:26:41 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=smsy9tlu; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234790AbhIJX0D (ORCPT + 99 others); Fri, 10 Sep 2021 19:26:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:34374 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233561AbhIJX0C (ORCPT ); Fri, 10 Sep 2021 19:26:02 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CFE1D61167; Fri, 10 Sep 2021 23:24:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631316291; bh=EH4b4wOqgmR5fMb5cwT0NEac+L5t0raAiWP84suO8JA=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=smsy9tlu9CPSDn4fKjl46u3jjfq2R3njFi5e6jxWnldXvJHvGzQuMXnKBS5huhkpu UH0VszBrYKYtR7yu7SoXbE03cDE9F2V8w96d535j2SuQBcWf+r5Jy3JubwD53wYzh7 YZyBepcZw2vZH+dRSiTXJDf7UKR4l3IpTt8R9MOwWQlAPVkfb+tSEe9+v+bceD06qx M63ZxeL+/06x2IfWAJXY5tYhUtpERojIx+a5wncFAAkDjMFUZY5XrzJtbrtecUwPrH 0LbIow+aLPOKBEZ+gHjKyAbQGzjor6Pmm7diWflLvgc6aDn6EoCCtPAGtOzVMBoZ51 68yjfbrauu0/w== Date: Fri, 10 Sep 2021 16:24:50 -0700 (PDT) From: Stefano Stabellini X-X-Sender: sstabellini@sstabellini-ThinkPad-T480s To: Jan Beulich cc: Juergen Gross , Boris Ostrovsky , Stefano Stabellini , lkml , "xen-devel@lists.xenproject.org" Subject: Re: [PATCH 07/12] swiotlb-xen: drop leftover __ref In-Reply-To: <7cd163e1-fe13-270b-384c-2708e8273d34@suse.com> Message-ID: References: <588b3e6d-2682-160c-468e-44ca4867a570@suse.com> <7cd163e1-fe13-270b-384c-2708e8273d34@suse.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 7 Sep 2021, Jan Beulich wrote: > Commit a98f565462f0 ("xen-swiotlb: split xen_swiotlb_init") should not > only have added __init to the split off function, but also should have > dropped __ref from the one left. > > Signed-off-by: Jan Beulich Reviewed-by: Stefano Stabellini > --- a/drivers/xen/swiotlb-xen.c > +++ b/drivers/xen/swiotlb-xen.c > @@ -154,7 +154,7 @@ static const char *xen_swiotlb_error(enu > > #define DEFAULT_NSLABS ALIGN(SZ_64M >> IO_TLB_SHIFT, IO_TLB_SEGSIZE) > > -int __ref xen_swiotlb_init(void) > +int xen_swiotlb_init(void) > { > enum xen_swiotlb_err m_ret = XEN_SWIOTLB_UNKNOWN; > unsigned long bytes = swiotlb_size_or_default(); >