Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2711990pxb; Sun, 3 Apr 2022 18:01:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoTwixy2lpQLM5HDdn6kzKgRY6Vz8Hlej3smGcxdl3NGqYrBkZc7NZR6og3JjeNgmrZpQ8 X-Received: by 2002:a50:9b11:0:b0:419:a8f:580c with SMTP id o17-20020a509b11000000b004190a8f580cmr30829439edi.292.1649034104837; Sun, 03 Apr 2022 18:01:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649034104; cv=none; d=google.com; s=arc-20160816; b=L/ixWJDaxXiYXcgZ0TZ2C2k3IM1HeJjDf6yRWMZSwLm4/uo3ZHXS3BY+krRbK/2OvU CpvYwhdWHpW9leSaGyL5amE74LWBZTy95trs7gjaKTDblE6UOxGCzNRecpsCOra1OEFT BQyfZura8YlZAZbD382d5J1wr2/w7La/+rjrF9Do4zXnBr81/yZv7yPZkCtnezgh6x17 WBwF+XrCF+7pclBOknzy0c0NQpfXFvL8Kj43LGY40QThwzTxO52qUzZlTNPGvGJXvKQc QzAwl2jXwVnBtFlJFLsRehB0pXqSkKZeNn6AdgZzwyC7Bo8foqYDZU067Ck/oC4uN1qM bFVQ== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Cva9+2onNb/Cco5jfRUYAkozTFv/WAaIKfAwvXM+59c=; b=sxyPu07K3XEKfFfCBiXqsoaBhT7bjgA+3GoDV0uYGjrYFpwVg3/9HfqEyCBqNCft0F zTi59XEvUhdmj9wJ7DytKGqjuptj627JumWwayyhIdGkRAHM8Po7qcIXzpDSfUQE84do dbcFbpeiTKzm0r9inY1u/qS+hTa3aiJQMPW+zzF5hCKQpwKaZOgmfcNP8c7C67EFrIpU +kUxsOavbudDXFez+JNBzKYz6amWuF/5VbAhxAN7iHVaHolTSEkK0v7WRc6kbbmGj4AR 9YT7kZPKGmqAvgBptNGGowsbTj8ZiTXZuhgexST8+3UPeVORdeFuQB0IWBl0hNzCh/mb 00KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DbFkpC0c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i20-20020a05640242d400b00418c2b5beefsi7418211edc.465.2022.04.03.18.01.20; Sun, 03 Apr 2022 18:01:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DbFkpC0c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S1356796AbiDCLHn (ORCPT + 99 others); Sun, 3 Apr 2022 07:07:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238847AbiDCLHm (ORCPT ); Sun, 3 Apr 2022 07:07:42 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CE3D33A13 for ; Sun, 3 Apr 2022 04:05:49 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id EA246B80CC6 for ; Sun, 3 Apr 2022 11:05:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64351C340F0; Sun, 3 Apr 2022 11:05:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1648983946; bh=tNVwT/q3PJXvzpsVpXOF5IQfYuQeNb4rj36DibYNmlk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DbFkpC0c1ShrEEJpJMHS7tg9b//XrfGBo5CNZrB77oNn/QMboH7avLl4xFP56zZhq 30oUpVqRNcX93FPWXTzeoZ1YhFP04nDppjvXEHCCF9owUe8PpuRs7I/ZqkhcVQqUIe P5bgLLPL3U22wHX7ZYsmhCUkYFt7/kCID0vpFJos= Date: Sun, 3 Apr 2022 13:05:44 +0200 From: Greg Kroah-Hartman To: Bruno Cc: Martyn Welch , Manohar Vanga , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev Subject: Re: [PATCH] staging: vme: Adjusted VME_USER in Kconfig Message-ID: References: <20220401050045.3686663-1-codeagain@codeagain.dev> <37e5203d1efd310ea82cf91c18c6a07eea743ac7.camel@codeagain.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <37e5203d1efd310ea82cf91c18c6a07eea743ac7.camel@codeagain.dev> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org You sent this twice? Anyway... On Fri, Apr 01, 2022 at 03:21:50PM -0300, Bruno wrote: > With my tests in my, I have found two other things that I think are > remarkable to mention. First one is a missing `depends on` line for > `VME_BRIDGE` in drivers/staging/vme/devices/Kconfig, not visible > because they were in the same tree, but now unveiled. I'm fixing it, > do you think it's best to add it in the same patch? Make that a second patch, and resend it as part of a patch series since your first patch here is gone from my queue. > Finally, not directly related with the patch, yet remarkable, I > happened to notice something. When probing the vme_user module > (compiled with CONFIG_VME_USER=m), I naturally get the following > messages on my log and command output for `modprobe vme_user`: > | [177666.590400] vme_user: module is from the staging directory, the > quality is unknown, you have been warned. That is expected. > While this is completely expected, the message about the code from > staging directory does not appear when compiled with > CONFIG_VME_USER=y, as shows a `grep -i vme` on the console log: That is because you built the driver into the tree, so there is nothing to cause the taint code to run as there is no module loader involved. It's expected and works the same for all staging drivers. Try it yourself with a different one to verify this. > | [0.000000] Linux version 5.17.0lsa-t-vme_user=y-13483-gfeb94431c35c- > dirty (bruno@AN5Bruno) (gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.38) > #7 SMP PREEMPT_DYNAMIC Fri Apr 1 14:33:16 -03 2022 > | [1.974450] vme_user: VME User Space Access Driver > | [ 1.975405] vme_user: No cards, skipping registration > > Do you think it would be interesting for a future patch to provide > some output when drivers from the staging tree are present in the > running kernel image? If you can figure out how to do so, that would be interesting to see. thanks, greg k-h