Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4426492ioa; Wed, 27 Apr 2022 03:43:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwj092pTFzxrgA2PN72w0w8irpqMl5ZiKyyHVuPcBNuKWiXw2qSvtDFxqmd/WcQ+SN2gQDc X-Received: by 2002:a17:902:7ec1:b0:156:17a4:a2f8 with SMTP id p1-20020a1709027ec100b0015617a4a2f8mr28683942plb.155.1651056213986; Wed, 27 Apr 2022 03:43:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651056213; cv=none; d=google.com; s=arc-20160816; b=XIolQIFdUr/8be35tVKoR84xlEHio3glMc1sKrXXvlzRUYmbeIXJBJe6IAdEOXJJpQ ND9+y+pglrKE2Dus44Or4RGdv3tsM7k/Vak0mEo73XBAZODMwdpnLQDTeod/Oio1ynVI QZJnWJi+4DTbkRfd4jlBha6VHCXK8HbQZc4y0s5VvwEl7NpCAvgNJ6y7YGfv07mGpphl bGkSVQSJreekBaUcrSE3KCMjqB8PtJyFnSIPe+keK81ZocYdRrp45cKK/eY4RqkOLIt4 d4whIo6pf4/UIaGMgJkSu8/109rzhXjocATulm/t8I/1pN7IZSvzj3qKrtQEEfJdRxn2 pcRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:dkim-signature; bh=nOhCPOtwmNXODLijzTSO8M7zxl8h4T8Tb26PN26Qq0M=; b=TzrANp22OluUy1t74hlpxt3jZzNXvv0vcmrRfrqzBx3pSB6Q0wcSJUX/CoDFUoqjxG wCIbJmZbOqjQJDOQS+pDEBKs37YVbR+rBOClIAbpK34dgxZAmzdPfmWXJ9280WXdy+d1 RRbHj6slXOfnK2QWhq1/nzoY6pyZlN2GNhCTk+l70H80/FE1FHapIRd3v9p7/hsuXnDu 9RJ/P1I8foPsnyC3UILeBanyEwWqVTP8wMAwUl3aD2OsbSfDVNF6EHZuOIB7axdTvknk ED4Ix9g3bvVL5bXkA/41PH85NoaUTOyijpFvH84l/w5CS0rb4kL6mzq1cHj+Kau4ZYbc 7vqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=LZKEFbB8; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id v191-20020a6389c8000000b0039db476db86si1063789pgd.453.2022.04.27.03.43.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 03:43:33 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=LZKEFbB8; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4B81A3FAF6E; Wed, 27 Apr 2022 02:52:50 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353110AbiDZQru (ORCPT + 99 others); Tue, 26 Apr 2022 12:47:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40382 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353127AbiDZQrs (ORCPT ); Tue, 26 Apr 2022 12:47:48 -0400 Received: from mail-ej1-x64a.google.com (mail-ej1-x64a.google.com [IPv6:2a00:1450:4864:20::64a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E27BC19146C for ; Tue, 26 Apr 2022 09:44:29 -0700 (PDT) Received: by mail-ej1-x64a.google.com with SMTP id 13-20020a170906328d00b006982d0888a4so9271381ejw.9 for ; Tue, 26 Apr 2022 09:44:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=nOhCPOtwmNXODLijzTSO8M7zxl8h4T8Tb26PN26Qq0M=; b=LZKEFbB8TPQO7kgBdpU2j4eYblKuzaR2Gi1xLMal4r01UVgMm32iuP23KamR8oVwXU A0Q2g9OquWtPZUG20Kv+3FzPplKg/UvdC5tL/zaE1RpHoBAA4uWQSRvxSviAcVNValYR atgp44CzDP4JuJCWMVAOztuYyp83xVUCTOdMgjPZtZT/I1G2Uvo4gRCy0vOJEAK515qh z6CoYJ90tMK9fDUC0vXsGNpavg5yM2TgwZG7Lr5lZNNSi4LNKj1E9yf0Md2SkqX4WdS2 da8nli8jJ9UvooA1jnZ8RZWFp4syKCdzroiMyC5ygmwL4OY2QmTJ4Viu/eSQqGFOkxbA m6yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=nOhCPOtwmNXODLijzTSO8M7zxl8h4T8Tb26PN26Qq0M=; b=Juc/qqSWjmDspgN/0xyq8NtbE53IipLg1cmvB1b/Fg0GDJj85EnjMWYlYH6I8CwMWn oWRuL2HECakou7s0KkeOUwpXDhEeu3Ab6YwcKpcRpF9qkQr0cLPyv0qxZyjknYioPKlH Zx50Cgt3iIqKymIdZnwfFZBVCBMcVa6HgCFXkw6v3yx/g/u/h/s4szdtauIjFVq2Ih0z jA8+fHVo4JFRxi8yhZp0wVX5nqs3e0fM3nGLJtkiy5/zqbSfLHlNtZxKuehWFjb2AToV VB1ztZDpTU90bXkPQl0PAHB6VVdMBmxPORgYeU4FruXdJTWxL449vPC78mxWkqaI2K3k VCkg== X-Gm-Message-State: AOAM533v6eQks/lv7Pkrt5uYqyvv/VtdE3ILcjckgPjPGiDbOLiAZRgb QtqBK7+12bE2HIF5Duqx9UCEEZR6j/0= X-Received: from glider.muc.corp.google.com ([2a00:79e0:15:13:d580:abeb:bf6d:5726]) (user=glider job=sendgmr) by 2002:a17:907:7815:b0:6ce:5242:1280 with SMTP id la21-20020a170907781500b006ce52421280mr22103960ejc.217.1650991468011; Tue, 26 Apr 2022 09:44:28 -0700 (PDT) Date: Tue, 26 Apr 2022 18:42:32 +0200 In-Reply-To: <20220426164315.625149-1-glider@google.com> Message-Id: <20220426164315.625149-4-glider@google.com> Mime-Version: 1.0 References: <20220426164315.625149-1-glider@google.com> X-Mailer: git-send-email 2.36.0.rc2.479.g8af0fa9b8e-goog Subject: [PATCH v3 03/46] kasan: common: adapt to the new prototype of __stack_depot_save() From: Alexander Potapenko To: glider@google.com Cc: Alexander Viro , Andrew Morton , Andrey Konovalov , Andy Lutomirski , Arnd Bergmann , Borislav Petkov , Christoph Hellwig , Christoph Lameter , David Rientjes , Dmitry Vyukov , Eric Dumazet , Greg Kroah-Hartman , Herbert Xu , Ilya Leoshkevich , Ingo Molnar , Jens Axboe , Joonsoo Kim , Kees Cook , Marco Elver , Mark Rutland , Matthew Wilcox , "Michael S. Tsirkin" , Pekka Enberg , Peter Zijlstra , Petr Mladek , Steven Rostedt , Thomas Gleixner , Vasily Gorbik , Vegard Nossum , Vlastimil Babka , kasan-dev@googlegroups.com, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.5 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,USER_IN_DEF_DKIM_WL autolearn=no 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 Pass extra_bits=0, as KASAN does not intend to store additional information in the stack handle. No functional change. Signed-off-by: Alexander Potapenko --- Link: https://linux-review.googlesource.com/id/I932d8f4f11a41b7483e0d57078744cc94697607a --- mm/kasan/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/kasan/common.c b/mm/kasan/common.c index d9079ec11f313..5d244746ac4fe 100644 --- a/mm/kasan/common.c +++ b/mm/kasan/common.c @@ -36,7 +36,7 @@ depot_stack_handle_t kasan_save_stack(gfp_t flags, bool can_alloc) unsigned int nr_entries; nr_entries = stack_trace_save(entries, ARRAY_SIZE(entries), 0); - return __stack_depot_save(entries, nr_entries, flags, can_alloc); + return __stack_depot_save(entries, nr_entries, 0, flags, can_alloc); } void kasan_set_track(struct kasan_track *track, gfp_t flags) -- 2.36.0.rc2.479.g8af0fa9b8e-goog