Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1745800ybt; Mon, 15 Jun 2020 08:22:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNOnW7JEiPYWLbQ8uUU24eu9zHxzZGENYXbAN3OK5F1VZc3N8qon5VAzw4rnxRSIeeiPW5 X-Received: by 2002:a17:906:c831:: with SMTP id dd17mr25959345ejb.40.1592234534276; Mon, 15 Jun 2020 08:22:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592234534; cv=none; d=google.com; s=arc-20160816; b=eB5GXSBNmSTgKyzoFDQAR2u0dygeTHa1AqWqrLdl/IBgYfViDteFhmxA0kxOwp/okf rGfliTfDQ78GSoKwS2Y5HV9d1iJCPvlNxCxawMt9k/NzMt6S4YYLqpzfkj92/M395jPq rp4QNi1LJvG2FNDGjYc8uMR2vkiwTnwtcjomsedG4C+IhPADH4QseU7OiR3zb0DOxXAm veLqrQP1ul5UxZdKU/7HbcC5utLmzF+OTzqivQRR2Fi0af7VyIIMZiq1/VdWGHPmyEnw cZRi8GLVQCqC0/V0Czh+E+oVZyM1M3eG5dtd3yc8cXithWKpHLP/MFJ8V5mqbT/Efj27 rdlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=fwCiCIfiynLyrTeoAjjwwFk4gCK1+J1/kSIYNJvFqks=; b=GDZjiqsCfqLdPEFFjrNuISBM979FvRVvUNQ4u5qP0uHlCwUX5rNn9sgELiFRF/rNVR h6r5Rt/FWHURxLwdplHUYxhxWUlGIl2bi6/sFJxhxALXE4lSrpk5r6kRyv6fFguAC+dL Ud4XDjSNk1AA1Stl8P9MOayYV+9XVf5DX617Y6GiI6SpYeSSAImNcWtRB0Sjc7k7p5bd o1kBLpUK/n/SxrOqHGwN0EBemnz9K1VHnv08975ig9kke6fUFz71Y6vCqw/qgloUY+LX GADnW96bJvXyzGlXVK028gZoAiMyj1E6uzNug/fYsMsva24s/eskHbUHnChgm5cdB/aa kvsQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h19si9342006ejd.365.2020.06.15.08.21.51; Mon, 15 Jun 2020 08:22:14 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730042AbgFOPSC (ORCPT + 99 others); Mon, 15 Jun 2020 11:18:02 -0400 Received: from mx2.suse.de ([195.135.220.15]:49926 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728326AbgFOPSC (ORCPT ); Mon, 15 Jun 2020 11:18:02 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 7E1F6B019; Mon, 15 Jun 2020 15:18:04 +0000 (UTC) Date: Mon, 15 Jun 2020 17:17:59 +0200 From: Petr Mladek To: Jim Cromie Cc: jbaron@akamai.com, linux-kernel@vger.kernel.org, akpm@linuxfoundation.org, gregkh@linuxfoundation.org, linux@rasmusvillemoes.dk Subject: Re: [PATCH v2 14/24] dyndbg: add filter parameter to ddebug_parse_flags Message-ID: <20200615151759.GJ31238@alley> References: <20200613155738.2249399-1-jim.cromie@gmail.com> <20200613155738.2249399-15-jim.cromie@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200613155738.2249399-15-jim.cromie@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat 2020-06-13 09:57:28, Jim Cromie wrote: > Add a new local *filter variable to ddebug_exec_query(), pass it into > ddebug_parse_flags(), which fills it, communicating optional filter > flags back to its caller. Then caller passes same to ddebug_change() > to effect the changes. > > Also, ddebug_change doesn't alter any of its arguments, including its 2 > new ones; mods, filter. Say so by adding const modifier to them. What is the purpose of the filter variable, please? It is newer set. It is printed in ddebug_parse_flags(). It is passed to ddebug_exec_query() but never used there. Best Regards, Petr