Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3687227iob; Tue, 17 May 2022 05:29:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/zoOv/AP4EDuf+dFWb5yr8Y1BXNnXQrO75gCSRLRgV60dCFiv+hriBg5Qk7O6z+Ucjc5E X-Received: by 2002:a17:90b:4d8c:b0:1df:8f22:b699 with SMTP id oj12-20020a17090b4d8c00b001df8f22b699mr2472393pjb.152.1652790548165; Tue, 17 May 2022 05:29:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652790548; cv=none; d=google.com; s=arc-20160816; b=oC1h+NRb7/XTW51qtE4EBzHd155j67UjHZWFZWEFa1h2BOGuusqNHX0hG2Woiqq/2/ dNV8R3JG0IAViUQAwcz+4CuLAGjRIQ9b5WNAiAcp+gvgKabTYLy7uG9On5hx4N43mVVA wk28DTaecZhlkT/UN21vbtTRfxVsKDRYSpbC/7RpyDEIBSFdkjEDROn97qT7M5TzoUF7 1hoSOtbIxDrjH8/EXJjd5s7xqoNBu5SiBEMHqIMKjyd5uuBdahwDq+2XzyYIfSxDMpsN dQMj4KGwldPxTo8Gh/XKH2ksTzehIVc2BKjq6iHg2oUm922k/xS5czAWd0RAz0Px42KD 51Ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language:cc:to :subject:from:user-agent:mime-version:date:message-id:dkim-signature; bh=zQp7s0X9+kl3lXqC1JJ3PoOlPjmjQXAF40+pr6Pmt+8=; b=sAlH6nb2kSfWk71UxrhTXlqN71dy++XtBv6iVp2dC3Qy5+KHkfLl2Y2SOMkbSXNkkn M9QD40x3TGcAHwivxLPS8+oIC5VT20RZkUa2QSAkMvSM2GmaBF7513T4wnAM4xGPsjhV XZLM+xMAahxrh1mfipZ/AMV56sF4iKxStKN8twHq1jfPJee1IVwOIg4HaoYScngo2ZFo AVsmSzfOCwVn2pQQw7cpNpGsDrBz5uVNRa5ys9fZrmbk/WQKNRWO2P8ePvzusHaH08Vw TwN1yOM0OZAHl+THPiWFwScSyaC4+vD10vQoejFI9DLYn3iWgxuzxWn8w4+0+GRq/1zf HzNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@openvz-org.20210112.gappssmtp.com header.s=20210112 header.b=Zh0z+q6P; 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=fail (p=NONE sp=NONE dis=NONE) header.from=openvz.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x10-20020a634a0a000000b003c16f7043d0si16386053pga.804.2022.05.17.05.28.53; Tue, 17 May 2022 05:29:08 -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=@openvz-org.20210112.gappssmtp.com header.s=20210112 header.b=Zh0z+q6P; 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=fail (p=NONE sp=NONE dis=NONE) header.from=openvz.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237862AbiEQGz6 (ORCPT + 99 others); Tue, 17 May 2022 02:55:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231360AbiEQGz4 (ORCPT ); Tue, 17 May 2022 02:55:56 -0400 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A188438F for ; Mon, 16 May 2022 23:55:54 -0700 (PDT) Received: by mail-lf1-x12a.google.com with SMTP id i10so29585650lfg.13 for ; Mon, 16 May 2022 23:55:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openvz-org.20210112.gappssmtp.com; s=20210112; h=message-id:date:mime-version:user-agent:from:subject:to:cc :content-language:content-transfer-encoding; bh=zQp7s0X9+kl3lXqC1JJ3PoOlPjmjQXAF40+pr6Pmt+8=; b=Zh0z+q6PRSSWHmhj2Tgq3r0UtD0iCxcWd9FUZokZRN7TV5ExOkRlCRBsmN5kNwxGgx hhu8r0hJYMB8naXb/Er6HGXsejlL4zGHJcpnbfnnmTQfh9aB5ZqQWdIhUb7pguMPPSSZ 7k1gAy3JmVfSM9yHEDwPmH4CpgxoLLWlgHmen2MfXnQnsf4DLeCTw5xxCk+ZB3MpMFpT 01XCzYgd6UaWOP5h1nPXNFr1w/n6drQLr8bgdMtvnTCBf6DK2iARhLtSaExot4gQ5+94 PiiI2tXGVdAgUUbYQbhvm/L3IJgBm+Gt23BDQFMBYffew/Unk6nGFVgDzO3NScJxgIK7 2DDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:from :subject:to:cc:content-language:content-transfer-encoding; bh=zQp7s0X9+kl3lXqC1JJ3PoOlPjmjQXAF40+pr6Pmt+8=; b=kbLkybEVn99gecXJTJb067RGHAHs9TzH0/hJTLxXsYjIVsNrH4A9TgnlBBNPiK9TBG WGRREeYNpA6+3Fw9E87m7p31581VW5JfzCIJLolJ3tFIkstR8/0lCV8BjAVSI1m8wOHN 2pUyH9MyFMzQzajQ7h+KxgTIuQ+UAJ7iUcL/qF9qFOiIIHFV1e4o4Op37XNCU8q3XFYM LxNZrpkvkK1N9y8XsEIGWX0XNVrsh1LUuGD3FB/a785TLd9Zl72cl5mwKS6cRiixFmZT obtfbDGwhv3EcYT5gn87KtaEkna+5Iwc4pGTJLWyls4A5zpJ+yAlELl6wPAbQrjQE2yZ BfrA== X-Gm-Message-State: AOAM531ktzTL3Z+hzja8EPpU0KdecdIglTXpGmVhelOUUyz3bvFxAe+i cIS3pkGV+IhRb0W+mJzpl9dlFFG0iETorg== X-Received: by 2002:a05:6512:1594:b0:474:193a:15f0 with SMTP id bp20-20020a056512159400b00474193a15f0mr15129645lfb.70.1652770553035; Mon, 16 May 2022 23:55:53 -0700 (PDT) Received: from [192.168.1.65] ([46.188.121.177]) by smtp.gmail.com with ESMTPSA id i4-20020a056512006400b0047255d21169sm1499316lfo.152.2022.05.16.23.55.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 May 2022 23:55:52 -0700 (PDT) Message-ID: <001979f3-e978-0998-cbed-61a4a2ac87b8@openvz.org> Date: Tue, 17 May 2022 09:55:51 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 From: Vasily Averin Subject: [PATCH mm-stable] cleanup for "percpu: improve percpu_alloc_percpu event trace" To: Andrew Morton Cc: kernel@openvz.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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 This patch fixes sprase warning about incorrect gfp_t cast Fixes: f67bed134a05 ("percpu: improve percpu_alloc_percpu event trace") Signed-off-by: Vasily Averin --- include/trace/events/percpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/trace/events/percpu.h b/include/trace/events/percpu.h index e989cefc0def..5b8211ca8950 100644 --- a/include/trace/events/percpu.h +++ b/include/trace/events/percpu.h @@ -28,7 +28,7 @@ TRACE_EVENT(percpu_alloc_percpu, __field( int, off ) __field( void __percpu *, ptr ) __field( size_t, bytes_alloc ) - __field( gfp_t, gfp_flags ) + __field( unsigned long, gfp_flags ) ), TP_fast_assign( __entry->call_site = call_site; @@ -40,7 +40,7 @@ TRACE_EVENT(percpu_alloc_percpu, __entry->off = off; __entry->ptr = ptr; __entry->bytes_alloc = bytes_alloc; - __entry->gfp_flags = gfp_flags; + __entry->gfp_flags = (__force unsigned long)gfp_flags; ), TP_printk("call_site=%pS reserved=%d is_atomic=%d size=%zu align=%zu base_addr=%p off=%d ptr=%p bytes_alloc=%zu gfp_flags=%s", -- 2.31.1