From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53983C4167B for ; Mon, 27 Nov 2023 13:54:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233411AbjK0Nyq (ORCPT ); Mon, 27 Nov 2023 08:54:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233543AbjK0NyU (ORCPT ); Mon, 27 Nov 2023 08:54:20 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B36201735 for ; Mon, 27 Nov 2023 05:54:21 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9C2B7C433C8; Mon, 27 Nov 2023 13:54:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1701093260; bh=oDW0HUte73CGTj6ucIxHY1GvItq32GGhO5CvsULBL18=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UCRachjwHH8u5UQpXm/o6+3Wf1F8cFZ5Ek+ILYDbWoirmVvKfzyIlAVFKX8g2YgwA HodXj5nCajqiwUj+yaKtKN5+giy6XGR8Cyk3Vj89Z3VjCZ+k50H4stdbCKI3wP2AJy k02yXrLSXRKnzd7km1wYwyv1uUhDKrJkUPg+GVoc= Date: Mon, 27 Nov 2023 13:36:54 +0000 From: Greg Kroah-Hartman To: Saeed Mahameed Cc: Arnd Bergmann , Jason Gunthorpe , Leon Romanovsky , Jiri Pirko , Leonid Bloch , Itay Avraham , Jakub Kicinski , linux-kernel@vger.kernel.org, Saeed Mahameed Subject: Re: [PATCH V3 2/5] misc: mlx5ctl: Add mlx5ctl misc driver Message-ID: <2023112702-postal-rumbling-003f@gregkh> References: <20231121070619.9836-1-saeed@kernel.org> <20231121070619.9836-3-saeed@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231121070619.9836-3-saeed@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 20, 2023 at 11:06:16PM -0800, Saeed Mahameed wrote: > +config MLX5CTL > + tristate "mlx5 ConnectX control misc driver" > + depends on MLX5_CORE > + help > + MLX5CTL provides interface for the user process to access the debug and > + configuration registers of the ConnectX hardware family > + (NICs, PCI switches and SmartNIC SoCs). > + This will allow configuration and debug tools to work out of the box on > + mainstream kernel. Did you run checkpatch.pl on this? You lost the tabs :( > --- /dev/null > +++ b/drivers/misc/mlx5ctl/main.c > @@ -0,0 +1,314 @@ > +// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 Why is this dual licensed? Again, you are using a GPL-only api for this driver, how would that even be possible to make this code be BSD? I thought we already discussed this, AND I talked to someone who discussed this with a nvidia lawyer already and I thought this was going to get changed. What happened to that? thanks, greg k-h