Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp605898pxb; Sun, 10 Oct 2021 06:35:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHsRyYisLF2SsqcI+Dz1u/A+xiw0T9yVOGQ1fPSe+1WvqrqMoacCXDH0COYcMjlmBkHekU X-Received: by 2002:a17:903:1247:b0:139:f1af:c044 with SMTP id u7-20020a170903124700b00139f1afc044mr19191439plh.23.1633872917488; Sun, 10 Oct 2021 06:35:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633872917; cv=none; d=google.com; s=arc-20160816; b=BVqkeVZcKbJFegJPpmp2Pl+pWjdKfvLumvsZpx+6dMrltAinFCT5J6CXLMATEydeBR UMtYorNde+2C7tLevKCFZ1hAANl7onaeNl/369l1aU/bsIoszDffw79JdDialbBDPwE3 p5mRb/m5pH6eRZIyojLiCYEscSlD/aXmHTbpCFgyAau7ekXovE0/kfqEbuueKeB7j1+R d1hXKE8UCecziI6a2JjePaqF9J57s93FiInzcFtPcx4tWvY/Q0fKfwP2h0kZVQdhcf1t yCfqduPa4ItDasSMgSHRQkIGoPDlXPWnX4UR9zInas6IIgKHDxRT+T1pKw9AyRxNYHYh HPdg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:to :from:date:dkim-signature; bh=ojoAUNK5opxsv4EzUMKWcqXh2JzFZ6F8l4t/EmphRS0=; b=MIhuThRayhPcI6JfAADI7MVzlMTAxAfvKpuY3ee0kKlwJWaDTkl324yZvTDHNhTHii 90vFTSk5bpKqxEQsWF6usIZr2xxNQI6i9u8eK6C52zBAuZVINIu/Vzu1JGq68qF2QUYM /cd8hW1tjHLtNlYODKb+2IwPYNWFStcby5+saZtOlqY5GIcVxawU0Y/BpsGFtdCZRrna 0goURfQHsyw3g1WTlVoJ/Qml9n8U2fyUr/BzmWG4FGQ8wCeRjffQMCTULqeA0dOcRLq4 RXksWcltFn9pRSXVGB1cu/oEAl4OzZAbhq1Pmj4UDE2NYcDoG9za2l+M0ya0qJA1CIcy poZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yrpoRCU3; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v12si7797757pfu.224.2021.10.10.06.35.04; Sun, 10 Oct 2021 06:35:17 -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=@linuxfoundation.org header.s=korg header.b=yrpoRCU3; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232484AbhJJMmp (ORCPT + 99 others); Sun, 10 Oct 2021 08:42:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:45124 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230500AbhJJMmo (ORCPT ); Sun, 10 Oct 2021 08:42:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E523760D07; Sun, 10 Oct 2021 12:40:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1633869646; bh=oaYB3NF9gEsWf0KpJdgbjCYjcL0/kIjSGtIHoxA4PAc=; h=Date:From:To:Subject:References:In-Reply-To:From; b=yrpoRCU3L9czZ4JE9gFE1f7AvdyrtYEcinTdEvxJaqFJkqUSzRs2b4JKv2dQfbN1u OJosxLnVIwfyUPaG3oHv+Kz8LpFDHaJMdtb+cPocKBTDnhL0V5RxK9uhDkJveKszyx k5oiW8o3Id9jpAGvXXB0Z3ZtFXyLG86sKlVv/UZ8= Date: Sun, 10 Oct 2021 14:40:43 +0200 From: Greg Kroah-Hartman To: Sumit Semwal , Christian =?iso-8859-1?Q?K=F6nig?= , Alex Deucher , "Pan, Xinhui" , David Airlie , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Mauro Carvalho Chehab , Arnd Bergmann , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dma-buf: move dma-buf symbols into the DMA_BUF module namespace Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 28, 2021 at 09:31:45AM +0200, Daniel Vetter wrote: > On Sat, Sep 25, 2021 at 03:47:00PM +0200, Greg Kroah-Hartman wrote: > > In order to better track where in the kernel the dma-buf code is used, > > put the symbols in the namespace DMA_BUF and modify all users of the > > symbols to properly import the namespace to not break the build at the > > same time. > > > > Now the output of modinfo shows the use of these symbols, making it > > easier to watch for users over time: > > > > $ modinfo drivers/misc/fastrpc.ko | grep import > > import_ns: DMA_BUF > > > > Cc: Sumit Semwal > > Cc: "Christian K?nig" > > Cc: Alex Deucher > > Cc: "Pan, Xinhui" > > Cc: David Airlie > > Cc: Daniel Vetter > > Cc: Maarten Lankhorst > > Cc: Maxime Ripard > > Cc: Thomas Zimmermann > > Cc: Mauro Carvalho Chehab > > Cc: Arnd Bergmann > > Cc: dri-devel@lists.freedesktop.org > > Signed-off-by: Greg Kroah-Hartman > > --- > > > > The topic of dma-buf came up in the Maintainer's summit yesterday, and > > one comment was to put the symbols in their own module namespace, to > > make it easier to notice and track who was using them. This patch does > > so, and finds some "interesting" users of the api already in the tree. > > Yeah, the interesting ones is why I added the dma-buf wildcard match a > while ago. Since that landed I don't think anything escaped. Should we > perhaps also add > > K: MODULE_IMPORT_NS(DMA_BUF); > > to the dma-buf MAINATINERS entry? Entirely untested, also no idea whether > there's not a better way to match for module namespaces. Either way: I think MAINTAINERS is already overloaded with too many of these things, but feel free to mess with it if you want to :) > Acked-by: Daniel Vetter Thanks for the ack! greg k-h