Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3299395iob; Mon, 16 May 2022 18:35:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUX9CeKu8DH9QPnZXyaHbyY0cmZbQU1svEeHznFTEygtqhbNS09ou/5hzCk+SMBtm66jf7 X-Received: by 2002:a17:906:4fce:b0:6f4:f41c:3233 with SMTP id i14-20020a1709064fce00b006f4f41c3233mr17165433ejw.117.1652751351280; Mon, 16 May 2022 18:35:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652751351; cv=none; d=google.com; s=arc-20160816; b=HWrxRMoppvy6rsozkVHAM/+IegzIzkMhi11MttGFHMo9r1JJrvdyj/cfbvrKesHtN/ XVMCyPSbCS48JJSLwKBpb6DLpgRAOy3SVwB1KPEjTizbG/CRJ7FZucDchLgSyppvt9Iy iegMtEfigwxNfY2fYoTcKdr64KIwdW9Wc08jWdAd4mP0GTleCw8vg5kE1mQaQEaMlAyM JRMoqG31emgf2v/5KW8kVP2Gfbjqwpf4YMhOzh4CERP+cFe3U8UtPZZ8NAJRnXa4KelF b/M1ZlkvG3HqCVY6LoNPpii2wfka1LxpK33Ifu5ynco/7qFwfUkyQqB2E8reVvvtQPl9 R6uQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=hAQ6bDuVE34fapwLRSc3S8B3W5xTPMPNIyTlxX8TFh0=; b=HQBFxe/jskl6oJEXx2mt4AT2N5Ix6x+kZbtvijfDpdyOphaP/Q1b0iGTszY/oVKEDz HwWsdxb8XitE+JK0v69uIh2J3E8EUFbGcQlt2h3IU8JB3qSAYQlNtdCQmY3+zjc48zTq FLYAi+49b6+uU3O4Gov/SOf3vjfXUzWQIDqDomFBaPzZEN+UjiCh7uMhO6v6Gn3AlCIF wsplKn5XsUEpKOb796YkMkBgfH2dx6LeluIMerwc9l7BZIcxIEjajJ3sSK85ygemnVQc +k6B8uM0Q8lBiBma+VB6EQW1NkyLkCkDMlsJhG6Q2Beh8saqBbiKw/7g0FfYbMo/X1VH wQng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=t9V8Kfrs; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id go39-20020a1709070da700b006df846edd5fsi1159069ejc.998.2022.05.16.18.35.25; Mon, 16 May 2022 18:35:51 -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=@linux-foundation.org header.s=korg header.b=t9V8Kfrs; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348366AbiEPVM0 (ORCPT + 99 others); Mon, 16 May 2022 17:12:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349324AbiEPVKH (ORCPT ); Mon, 16 May 2022 17:10:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7BEA91AF for ; Mon, 16 May 2022 13:55:40 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 88338614DE for ; Mon, 16 May 2022 20:55:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B30F4C385AA; Mon, 16 May 2022 20:55:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1652734538; bh=dugUPCYBgA8+hGXd7VCk99Ywg4RL56xDXuN95GI3f/I=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=t9V8Kfrs85wyXWugBWf5HDM27Y6DeGms/QxZ1q5i5X/PCQKUDDyIqaquN6GAXPrgW BCay57CEkeaCYfJdDFFkdHZrOhbBzwFb9S3P1smqgWsF7ww2x4F+3Pc7S/I6xHCaZG d6hXl9Avj6g05HfnpMJ119E9h2abFZez1H1ASETM= Date: Mon, 16 May 2022 13:55:37 -0700 From: Andrew Morton To: Vasily Averin Cc: kernel@openvz.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Steven Rostedt Subject: Re: [PATCH mm v2] tracing: incorrect gfp_t conversion Message-Id: <20220516135537.8458fe08464d97bb45684252@linux-foundation.org> In-Reply-To: <20220515180903.37fc18e4@gandalf.local.home> References: <20220515180903.37fc18e4@gandalf.local.home> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On Wed, 11 May 2022 10:20:39 +0300 Vasily Averin wrote: > Fixes the following sparse warnings: > > include/trace/events/*: sparse: cast to restricted gfp_t > include/trace/events/*: sparse: restricted gfp_t degrades to integer > > gfp_t type is bitwise and requires __force attributes for any casts. I already moved the previous version into mm-stable. Would prefer not to have to rebase it. > v2: 1) re-based to 5.18-rc6 > 2) re-defined __def_gfpflag_names array according to > akpm@, willy@ and Joe Perches recommendations Please redo this against the mm-stable or mm-unstable branches against git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm, or against your own previous version. The new patch will simply switch to the gfpflag_string() trick, so it will not be a "fix", so please let's position it as a "cleanup".