Received: by 2002:a05:7412:1492:b0:e2:908c:2ebd with SMTP id s18csp541645rdh; Wed, 23 Aug 2023 07:44:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFZRWbgMUqFpJGyxNcegrGGzK5H8lM6VenwXmtW+FIMUWOFHygmqtPUkVNZE7X7i8p7hAeB X-Received: by 2002:a05:6a20:8f19:b0:148:26e3:2fac with SMTP id b25-20020a056a208f1900b0014826e32facmr16448903pzk.22.1692801852385; Wed, 23 Aug 2023 07:44:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692801852; cv=none; d=google.com; s=arc-20160816; b=Unq4zCVLYzc2HOKRZimNuXOQXrdDPc1F4PKlsBNWae2kYnzYOcFAVuHJlpkD6qbfMB KatR45cMdXgjtAqmc1kyfTegDhNcuPr9kVXsg9ut7sdVy7nddSPh93MeW+ef1vVp5+qt dfrO/FuhMY3Wij+PfNYBo48w9aFkadAVyIR/b+Y4CjbYgSa/gY1pWcEP2GbqC0kfM+sx wCpzSVK33rZ77wiCVUK9eL+5q5ajOaQqkBF0H16G+qM8qRc981C9INu8wDpf+OJBihej qtMUbvZ1q4NCxZHw//wM0YlQ01MIzPDoeqsmEht+SmXR70UcyU0j7nepic4OxU4Wibb0 rppA== 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:date :message-id:subject:references:in-reply-to:cc:to:from; bh=nwp9EjqEZbXcmhtICWEpN+F1nNMaC3wBMnJjVH+FIHo=; fh=W+1UFRDV++QJAFps1ES75OEf05KEoN5WHcb+aZiI8YU=; b=CpB3xEfK8TV/7pztYGuXWfmyU3WXYkz54EskFkXFLyH5CJu2ryLWe9/KlrvJX9zKqf sVEMOx32/qVJHA6dQUqDRFzaTjtytpXPzYBCJVgCoiyLl8QAg94cI7HWAbIw7V240zVV FVJhtzoah/E65mWgYwEFtT3NsTqPxg6hF51SMUN+cvZgmElvzmvamtx6c6M31uBHUcid jomStewENmG3c+hfhbiMSaLcJWvDleTdO7cdMankFoxv30cNmU4aX6zHDdz2Hwzm+tYa iQDE6d6YJjgVsiEDy1UumcoKndWJi7FQKgr2j+2W/69mvaPOW2Xgl3DPTvqY246gaKBL dUzw== ARC-Authentication-Results: i=1; mx.google.com; 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 lf16-20020a170902fb5000b001b886d36bf6si10736262plb.226.2023.08.23.07.43.58; Wed, 23 Aug 2023 07:44:12 -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; 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 S234915AbjHWMEh (ORCPT + 99 others); Wed, 23 Aug 2023 08:04:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234749AbjHWMEO (ORCPT ); Wed, 23 Aug 2023 08:04:14 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB561E6F for ; Wed, 23 Aug 2023 05:04:00 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4RW4cw2bgnz4x2V; Wed, 23 Aug 2023 22:04:00 +1000 (AEST) From: Michael Ellerman To: npiggin@gmail.com, christophe.leroy@csgroup.eu, Gautam Menghani Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Jordan Niethe In-Reply-To: <20230731115543.36991-1-gautam@linux.ibm.com> References: <20230731115543.36991-1-gautam@linux.ibm.com> Subject: Re: [PATCH v2] arch/powerpc: Remove unnecessary endian conversion code in XICS Message-Id: <169279175568.797584.10256881719025771730.b4-ty@ellerman.id.au> Date: Wed, 23 Aug 2023 21:55:55 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS 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 Mon, 31 Jul 2023 17:25:39 +0530, Gautam Menghani wrote: > Remove an unnecessary piece of code that does an endianness conversion but > does not use the result. The following warning was reported by Clang's > static analyzer: > > arch/powerpc/sysdev/xics/ics-opal.c:114:2: warning: Value stored to > 'server' is never read [deadcode.DeadStores] > server = be16_to_cpu(oserver); > > [...] Applied to powerpc/next. [1/1] arch/powerpc: Remove unnecessary endian conversion code in XICS https://git.kernel.org/powerpc/c/984b07b428994d9e83c6de9a5f1307948188fe71 cheers