Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp378630rwb; Thu, 10 Nov 2022 02:03:13 -0800 (PST) X-Google-Smtp-Source: AMsMyM5H4WICALYMhr1kRnZfBhvoe3f9OKNPfUihv7rAcsEFZP7/ssIbXLtTjQR9tMpgtBI8l5h6 X-Received: by 2002:a17:906:5e51:b0:7ae:32ca:78c9 with SMTP id b17-20020a1709065e5100b007ae32ca78c9mr27940587eju.166.1668074593346; Thu, 10 Nov 2022 02:03:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668074593; cv=none; d=google.com; s=arc-20160816; b=F6qqlNK6Z7jv/wPNNXOeZCMmiJHq0igFsoIa418BNEgxD9CNVXF7XilxyrfLu4ujuC zfqtcdfarPPlXzrtvcR3Ucwsc4mdufBnDICXEYEVmcfO8SJzc2+vv9w0a6F1YY/uJnM1 DLH0pUM9gWu9NQsr92tK/OS/oUWeaQVxS6FqU6iX6XuJMC7eh8VZ6UZje32CuvK2BuSU YaGvUpdKM3WPQygvXF5pd1oygFSZf8ucJnUsu4lntkKIECTFsWhfRTVGlYrSUCSqXhDq TZKqk+eC5BLCCigE7H7eLjBxx392jQWXL37pCj6sucJvr+KhbaEC08bhT9Cu6vP2w8ve DTgA== 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:date:subject:cc:to:from :dkim-signature; bh=aWtnQJaZ/DC2sr1Ii69yeGSZuxu9g3YJF6gE4/PvhMI=; b=dVFxE/gi+v0Aj51oVmzhZxSy8KLANn9A0EJNDKOSlOaPRCkfTjSV67J0KzLB73Ql+i hj1A1/TGbZzYGkUnPv02ezJGQDSLcOLPrGomo5AVYPKImPKN1qwk/ZPG/O3YaOlsK9XS ZqOqdlXWqpQu3A2cFvveneNNn87zjyHFjPfYlDukFf3vkTGtRGByksr5SED/XEQDTuus 0LchZVqtH/gBxSE6eKD7jOCjGq1K3XZoQT3k2qWMHXCrxH96UuSWqRiJLIH1m/pFwI7b QpiSG6vYWo3JvkO2UrhPMkH0Ow2a83cQ7BIVZ4YqzMZWGESxSvkxnQAqeHdXrqCK+xxy Jh9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IyqPqR2H; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qq10-20020a17090720ca00b0078cc8a2cf4bsi14073920ejb.614.2022.11.10.02.02.50; Thu, 10 Nov 2022 02:03:13 -0800 (PST) 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=@linaro.org header.s=google header.b=IyqPqR2H; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229624AbiKJJO5 (ORCPT + 92 others); Thu, 10 Nov 2022 04:14:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229759AbiKJJOv (ORCPT ); Thu, 10 Nov 2022 04:14:51 -0500 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 99F2268AE3 for ; Thu, 10 Nov 2022 01:14:50 -0800 (PST) Received: by mail-lf1-x12a.google.com with SMTP id j16so1958801lfe.12 for ; Thu, 10 Nov 2022 01:14:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=aWtnQJaZ/DC2sr1Ii69yeGSZuxu9g3YJF6gE4/PvhMI=; b=IyqPqR2HfrTjYWOP26a2uWXKScvs+iwrE2hWCYZOtcqow8xOBNXqf+yqpdAcyAihQD anjFfES39Wc3rbVkiYr0dw8tXWiORSEIB6LB9Av6KxIEIIXU8aKRczr4YeFLum9y2JXS zR+e2d+V6AWcV+qKg+Rsd23WST+VtCuejCJKGoVajT+GlAvyZ54/WoncChoty4k7JwZx T7KnMY30EKzqIw7EAvu2ok1Y/jy8etdvMRJO0/26JnkksiPCkOcqCX6z3rksL41BndP+ PG+MEcDeEQetWgTjFZrzyHdRi1CetcvMt7QblGBfLIopVkr+IKtEmyt8TAT/F0Mzbmg2 p9Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aWtnQJaZ/DC2sr1Ii69yeGSZuxu9g3YJF6gE4/PvhMI=; b=sAmWQJmnSGrJFeO+uHEbr5Xv5TDpdugDTGya0kisD3JExS84jzhnI1J5RxIzqApAtT iJjWl6nTBWYpym6XUEPPkMGsO9grhdVXu9yiPxvKa3hyccalDg7MDN0kJ4IvXdaTEFgj 4/IBjxpxp2NrahkQthu5oiON2ifNCpjHYY6l03t61Ir7w9W0cJucNOQqGfFHgRUNeV92 aWib3KtHEQEtXfS9MoeglcR1bSoNUabnR5n42FX5nBIVTPf7a7rrCxN8gpdFIfzscFDF TVjWL+5CURCGvzwXv8QWaPaIJPRbMCZKFDEjJgXmM4RMYMWv+CH1KIy5ZheoUkOBaJPw d7SQ== X-Gm-Message-State: ACrzQf3/a/ZsVjHcozocz9tGyVpJi3fd15vIoxYsRv/ITnZrTBwMER2P oiGN7hsDhOqEauOjyTphowlDIw== X-Received: by 2002:a05:6512:22d4:b0:4af:1f59:b6d0 with SMTP id g20-20020a05651222d400b004af1f59b6d0mr1294867lfu.314.1668071688997; Thu, 10 Nov 2022 01:14:48 -0800 (PST) Received: from krzk-bin.NAT.warszawa.vectranet.pl (088156142199.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.199]) by smtp.gmail.com with ESMTPSA id m3-20020a0565120a8300b00492dbf809e8sm2663338lfu.118.2022.11.10.01.14.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Nov 2022 01:14:48 -0800 (PST) From: Krzysztof Kozlowski To: "B. Niedermayr" , linux-next@vger.kernel.org Cc: Krzysztof Kozlowski , linux-hardening@vger.kernel.org, gustavo@embeddedor.com, keescook@chromium.org, linux-kernel@vger.kernel.org, rogerq@kernel.org, tony@atomide.com, linux-omap@vger.kernel.org Subject: Re: [PATCH] memory: omap-gpmc: fix coverity issue "Control flow issues" Date: Thu, 10 Nov 2022 10:14:47 +0100 Message-Id: <166807168409.17460.1069653454790290049.b4-ty@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221109102454.174320-1-benedikt.niedermayr@siemens.com> References: <20221109102454.174320-1-benedikt.niedermayr@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 9 Nov 2022 11:24:54 +0100, B. Niedermayr wrote: > From: Benedikt Niedermayr > > Assign a big positive integer instead of an negative integer to an > u32 variable. Also remove the check for ">= 0" which doesn't make sense > for unsigned integers. > > > [...] Applied, thanks! [1/1] memory: omap-gpmc: fix coverity issue "Control flow issues" https://git.kernel.org/krzk/linux-mem-ctrl/c/10913c3c59ce04562230eee4a9d1b0d4e2808842 Best regards, -- Krzysztof Kozlowski