Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5021709ybv; Mon, 17 Feb 2020 10:33:56 -0800 (PST) X-Google-Smtp-Source: APXvYqyylCc8ByO62DsiZ6Lj09C9ULfXZLU0IoyX7MFndSW4A/nZLG4A9zxtdiUQvU70ytAUVnvg X-Received: by 2002:a9d:12a8:: with SMTP id g37mr13183273otg.261.1581964436652; Mon, 17 Feb 2020 10:33:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581964436; cv=none; d=google.com; s=arc-20160816; b=V1bzCr/qIcmrktN1O1qwLCUI6M8ACiH4GXvLELcHvlfuj1xlhX5OJbMCNFgTRTOnyc GPSX6SzxyinxjJc9+HctsagoVNfhWF5xxBESgrbigsCJqjMp2DWaKxdj8o0LMfowtdmr dQQKk/qF88EXhxLIkejhQtTMJ8AV6tboWTibpwccU4e3HJr4VlWuDGebu28W4EJ9NG0l ArC1trQKshyBDC4YYrAfuh3S5pFLeAniqdRPsKwYmBzzSjErxn55PygDyDSP+pJqXpV9 SdDK//0fZVcBrG2TQHccZX4QRv+I4436DcVzbwbEXxjBMyIhhcdSJbVaGXSUwlxT/E7i 4heQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:message-id:date :mime-version:subject:references:in-reply-to:cc:to:envelope-from :from:dkim-signature; bh=ZXaLfkB4QnIWV6WwupheBTl3yVczZy/2HbFnDzWCBxQ=; b=fxN1psfhtGF2kZpNn1ldDHW1OKxPBeQvYt/RMgTTBSg/0CZQbdlNB0xXWCN3a+kB+h EWYk2dTwunRXq35lOfZCNh8//dGXqfQOQvHI7ZpeoUg4D3uUSlbbN3ly1WZ74QQeNTQ5 c9HOcdXkbmDeqsvwLtdscS80hwACE10w+mx4L07Avm5iO3iHJqkD7gX/KnpjdSn3x0Im x1+8EIVE9Kdx1KFn9uMVqrUjmieW84RZ5bfyWgkvSUTWxsMfguWA1bzFKnjMSiIyHopM ZfVEr4MUm6hAxgVrzBdRCRY5FNILPBXWT2AvEtQpNso3+UBVUzV2Wc6Eg5y1GUljMFDB XM1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yandex.ru header.s=mail header.b=NoyiUAVG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d5si6440147oij.139.2020.02.17.10.33.43; Mon, 17 Feb 2020 10:33:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@yandex.ru header.s=mail header.b=NoyiUAVG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729141AbgBQScl (ORCPT + 99 others); Mon, 17 Feb 2020 13:32:41 -0500 Received: from forward501j.mail.yandex.net ([5.45.198.251]:52494 "EHLO forward501j.mail.yandex.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726707AbgBQScl (ORCPT ); Mon, 17 Feb 2020 13:32:41 -0500 Received: from mxback2g.mail.yandex.net (mxback2g.mail.yandex.net [77.88.29.163]) by forward501j.mail.yandex.net (Yandex) with ESMTP id 8862D33800D9; Mon, 17 Feb 2020 21:32:35 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback2g.mail.yandex.net (mxback/Yandex) with ESMTP id Hos6lzhXdw-WZnGPXCA; Mon, 17 Feb 2020 21:32:35 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1581964355; bh=ZXaLfkB4QnIWV6WwupheBTl3yVczZy/2HbFnDzWCBxQ=; h=Message-Id:Cc:Subject:In-Reply-To:Date:References:To:From; b=NoyiUAVGde3k3GLIoi3chnJ14yMXccIxA7mQaCHiyh4/LBRx7/rrFWtUTLjObkRGA XSd+Ln9DWsYtzS00U4vptmuwT5UQoPgtNLm+hyBU/jS+94HwnKkczyVHifXOr8YLp9 NpcN5mdyHOK2G+aFF1/rL3x7wFr9/rCmzhBkla6U= Authentication-Results: mxback2g.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by myt6-09be74140f25.qloud-c.yandex.net with HTTP; Mon, 17 Feb 2020 21:32:35 +0300 From: Evgeniy Polyakov Envelope-From: drustafa@yandex.ru To: "Daniel Walker (danielwa)" Cc: David Miller , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" In-Reply-To: <20200217175209.GM24152@zorba> References: <20200212192901.6402-1-danielwa@cisco.com> <20200216.184443.782357344949548902.davem@davemloft.net> <20200217172551.GL24152@zorba> <16818701581961475@iva7-8a22bc446c12.qloud-c.yandex.net> <20200217175209.GM24152@zorba> Subject: Re: [PATCH] drivers: connector: cn_proc: allow limiting certain messages MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Mon, 17 Feb 2020 21:32:35 +0300 Message-Id: <17589131581964355@myt6-09be74140f25.qloud-c.yandex.net> Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 17.02.2020, 20:52, "Daniel Walker (danielwa)" : >>     What about sysfs interface with one file per message type? > > You mean similar to the module parameters I've done, but thru sysfs ? It would > work for Cisco. I kind of like Kconfig because it also reduces kernel size for > messages you may never want to see. Yup, single sysfs file per message type you've created as kernel module parameter binary switches. David, is it ok for you?