Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4667058pxb; Tue, 28 Sep 2021 00:54:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylnwUTUCpww0O0N3miRywp7LuaYL7NLSx46N7xkEP9PkWhf+3AHWFZwE1chUO0i6f9oojc X-Received: by 2002:a17:906:1c0e:: with SMTP id k14mr5154061ejg.286.1632815670088; Tue, 28 Sep 2021 00:54:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632815670; cv=none; d=google.com; s=arc-20160816; b=vYxiMPTVJ0eRg5B4mQ7tRVSZ11+v3X/GChw6EJa35wW3DAgf/6cQAqAeBc87yLRWWi xPC4YB54VNE+Ja1cK2DVGmTr7SOJVRcpfXyGyhwLAj6VNR4vx6KM6GH/sofH0wmpNo8M ZkKc5M9RKhsVnpCc+6cHkb+qQl1PcdhYZkk7dv0bjYt0x9bhGbwn4Ga/aGxuTn0YLi1R PumhLdZkl6HMrCwq+roNNnigGYrFS7IWGqu6x6yIXcVeHwyB+YPcXxr8tZfPzRYthM08 /CC+JIQgVoLHjGueJSHF3SzTPsdGU7uvFC6Q00vnhP2GV4UYXnKFTmb4UBW6jc/OpmHS xE2g== 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=gDYvF7iL8esd1PbrpHatcOUIFzIRldYMGSwfhSETUwA=; b=Qz3d9DqP7SyuVPSAVOVMqXXYeeYtsN/lXN1j+d0jUqNe9823AA4iFzLz9tp40N0lAH cMfghszYraW3ESQIzOBxCg01gx+GeCZk0yQlAkDCApTD3LFh1TIp4LrHcmRxCPdI2Xpm fnYPzlkxKXdrrW3f3ZjxCPQC+jPuEn1Eo2FfWFjDugkWfIRlqY5Rj5RwKNO6lpzFR4dE VCb9SkIsbJcuDslK6WmEFEVJUX+q0KW7utok1DvskgjgnEEoFq1OPDl7fefWlfpgpL3V uaG6WraCgzc0XReVF6uRBZPrO/B64A+mAE/KVHwx4I1WD9ZL7mXBcHioYHKGEuHF+9P7 3+/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=oOqd8qGX; 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 j30si7438071ejo.706.2021.09.28.00.54.06; Tue, 28 Sep 2021 00:54:30 -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=oOqd8qGX; 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 S239355AbhI1Hwp (ORCPT + 99 others); Tue, 28 Sep 2021 03:52:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:35024 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239287AbhI1Hwo (ORCPT ); Tue, 28 Sep 2021 03:52:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9409760F4B; Tue, 28 Sep 2021 07:51:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632815465; bh=G1ViAjdA/G2dcjMEDMQdQby/GLDRcGsYdwynsKMsnKk=; h=Date:From:To:Subject:References:In-Reply-To:From; b=oOqd8qGX3jSdpA7FXe0FcknkS8/OJxthL/6ruCuf469jklDKFKnsddSAim2oUap5u O1uTcCXrC6XT6eTXp5slvt2LDfBvtPYQwBE9hnA6tsus300Ted25NfOAnOPJRESpie KhTXQsuaGKCsCdl8UmsPBK/CiFghAPoRgCZeZvoM= Date: Tue, 28 Sep 2021 09:51:03 +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 don't know if that would really work, if anything, just make the MAINTAINERS file harder to maintain :) > Acked-by: Daniel Vetter Thanks for the review, I'll send out a v2 later today... greg k-h