Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2406479rdg; Mon, 16 Oct 2023 03:40:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF4QFXkSV38o7MaLwxJjgXjHMMg2sMggdOMim8rVsJZR29IX1oT9zNa6H7QlJP06GAq6qOZ X-Received: by 2002:a05:6a00:391b:b0:690:3793:17e5 with SMTP id fh27-20020a056a00391b00b00690379317e5mr41736347pfb.4.1697452802588; Mon, 16 Oct 2023 03:40:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697452802; cv=none; d=google.com; s=arc-20160816; b=p/fGrhoTBKpi3XElSl6+sUpa/++QDSQVgLBQNkzqVQG+Xp9qoO64o1F1Eky9GUmCoH sSWh81RAYV4Onr4DyBXDmY4FzccMzb0mVmwGBI97UnoZgyyo+tErFrl+zjYcMGOtOO39 O//GU3jF48jYMZ6Rp93ZjBvMUEL0WucOFN4WUcO/cxYtgT2ni92/OysiNma2CAzxGs0W L0Ff3p+Kci28aLwNqMhbkJ7n/So9Zi1Ohdq+3btKTtweDzKzk3vdPO7otzpDSMRY21uY GN4f2PeAUoPz/55Ar84lgs27CGdpHa7NqWr9IM6+v9jExzCXmHBexzig1cbTfavuyB3o b2mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=sIaK3sm66TImARHDtodwxW2o8aXauaz7AMVXRhEFaCs=; fh=sM7XpXZ5ETMYQ2k/hPkjOaDoKOnyW3WWEDEIDZn9I1I=; b=jOy2VKkGNxV7tzAH/ccV/tMt2P5+uc5W1feZltRMZmW8hkFMxWleYOdjfZNsGMNmq7 W4jBMHao6HggyKsO/E3uY28ovb1qjvYpSbTavxonJ9dL4jszCNuChIjj8M+EK4EbbSM5 vJINdWP7eia4WW55ZNzEvcdFafXARJhAoA5Reoc/whX9WJnDBQvT0Mkd5/7P/AJRbfP3 lrQcAR8C3A6VxgI7+FhAxyH8I/R40GARSdTOJDgHvizqrh3EbnRxD2b6anZz/Q8+a9IC PP2TmFZP5gB+P1eCaOiFDeeuJha9Pex+bURtANz1CLj+FUznwx1Q7TyOzPm5eKCOoGIn 8x/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rt+U9cfJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id j3-20020a056a00174300b006a15afe16adsi4788743pfc.258.2023.10.16.03.40.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 03:40:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rt+U9cfJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 185C8809EC97; Mon, 16 Oct 2023 03:39:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232532AbjJPKjp (ORCPT + 99 others); Mon, 16 Oct 2023 06:39:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40902 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbjJPKjo (ORCPT ); Mon, 16 Oct 2023 06:39:44 -0400 Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71DF0DC for ; Mon, 16 Oct 2023 03:39:39 -0700 (PDT) Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-32daeed7771so1057421f8f.3 for ; Mon, 16 Oct 2023 03:39:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697452778; x=1698057578; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=sIaK3sm66TImARHDtodwxW2o8aXauaz7AMVXRhEFaCs=; b=rt+U9cfJf5hXAKiMwGngW28UXxe0Om5Yevn7YJOqJz8Fye5DXk0EHZT9jlGWD+u9RH rgeI8afG+ckDi8Jl0M9Os1SxVpQOPMW6S6EfDBoha6e8vCIlOyu+kbMuWvrckOt2emIH lTlZt7YX6d5hKQBwHZptDp4ylnGAZ9eenxMk3hWBZERF/UU4m/+tQ2lWmOL20dJWOsIx D1AsyFutb3RwbN6Ng67oOYSva/e1CyplxPU3zHjVLmLLrvUMpgT/JrKXl9XWtqrpcdfW xYsDDz+u9ApB7sptdIYPfuq76M5xrtrQilDjehT8UmuXxoVZKk95BhKmy/X0kY+e08mg jLKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697452778; x=1698057578; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=sIaK3sm66TImARHDtodwxW2o8aXauaz7AMVXRhEFaCs=; b=aeJONID1hmknsST5AXqudM5Fcs1xJlk6fNn/V42ahXCTJ/GV8scE4gyiPRUM/icqlH i2QOXaxcqD9Z3IQZhsbXB5URnOod6bn0MmncBjemFoMe7/KIOLJk02OhocL0gEAbQb9V ExO4Z17oKxdhKfdpqfiRbkc1pNeuX0eYt73IjeKUhFTs5g/Z4V9foOfguMTINrUmq3EG rKog0cqCpf2wLLTrE7ASLUmk8F9FZCanBOCXGwKqyg9pV/Sl4eXkfpqWEEGtW7gP6Hlq h36dRpaCOP7dxC2/6FszPaVPyxvFO9Tlvm8sjd4MLvEOty8LyrAPsRd0LHb80+A0NWxu Z0kA== X-Gm-Message-State: AOJu0Yx1C+yvSd/K9aGhtslUcuyOMMaEe8/4LxrSSdsfAXaQfXsKgJh/ PsXP1pbyg/NgyN1QZZ7qzuDdwg== X-Received: by 2002:a05:6000:1c17:b0:32d:a910:6c2a with SMTP id ba23-20020a0560001c1700b0032da9106c2amr4912494wrb.30.1697452777799; Mon, 16 Oct 2023 03:39:37 -0700 (PDT) Received: from localhost ([102.36.222.112]) by smtp.gmail.com with ESMTPSA id e14-20020adffd0e000000b00315af025098sm27104942wrr.46.2023.10.16.03.39.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 03:39:37 -0700 (PDT) Date: Mon, 16 Oct 2023 13:39:34 +0300 From: Dan Carpenter To: Ingo Molnar Cc: Uros Bizjak , Sandipan Das , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , Thomas Gleixner , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] perf/x86/amd/uncore: fix error codes in amd_uncore_init() Message-ID: References: <0c973a20-e10c-4989-b7d9-86cb0f522718@kadam.mountain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 16 Oct 2023 03:39:58 -0700 (PDT) The surprising thing is the Clang doesn't detect the bug either. It's strange. (I found this bug with Smatch). Also I notice that my Fixes tag wasn't correct either. That patch did have a missing error code bug, but "ret" was set to zero. :/ regards, dan carpenter