Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3510872rwb; Mon, 7 Aug 2023 15:03:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHN10NxtsyTbO2KZ0I2qAGucTAWDLqojrCC6e6KMUbUpUXTFMsOT+F4ZbcQ9wRMkBiK67Ej X-Received: by 2002:a05:6a00:1391:b0:687:5dfe:a9c9 with SMTP id t17-20020a056a00139100b006875dfea9c9mr14086520pfg.2.1691445815268; Mon, 07 Aug 2023 15:03:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691445815; cv=none; d=google.com; s=arc-20160816; b=fkjARLHyym7FZoJtIkXoDf4VfsC4I/L6HkHoFz95yZGM7uvecvoQvAKE85cuQMvvxV aB5IYhG/ix3yW5xO9yn5l4f3hNEx957k9AsgSfNcKsCScA5Kyupie1pPjUradoz2sN1f qxsjiZA4yA/MuN5wk5wflJ0owclHVZ3e42YQgqdYssKZc1seZ/C3BdI+x2fo57dRN52G bjv4navu5yNa33OdmFbiXxGGg3hh3ZNa0eYVNwmmQftlQwrNiGNiIbA2PEgnLCtX57Be BwsI3BwuyhjU6MGUzcllGQqsjqo/OV7Fs9ejdHKYx14k8ipE2Jwio1vML7zqyh/vpr4H BROQ== 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:dkim-signature; bh=qnt7fcx+Lqs6OR+YZuHPgYWdlh1dDmR+aZCgGcoB63o=; fh=PzS16owoKNNNYh9XZ3oysN4/GQ5ScQ7nCr/7qJzGHBI=; b=gTC/Y60LBt2VLeHGruvlzTe2w3oXRXxMgqwcdUmI6D/3aK5PkS+A6Zz8pvXwqPyZ26 UlN4Vkt3XV6KdtTjxzFRbmiafVPmPI3JkDuDiJ8vbngtkB31tTPGsoe9G5FNDwiWbL5K 4FNu0rdEVpd50OGQv9PxbMLvS+nBjbRbV47PJOdAl3oLPJC0zZwaA81FcW75DJPrQkzq Z9e+kpM51x6UAYzg8XG68N6OkJ/cV3bw0vqZTDUk/rC0IAdlvs2Ep2k3wANreN4ikcDQ RTDrjBMzjlJN7PeCtQUNrW3jZxSCxdHIEhBTO1Cw2fDdiMX8gT94Lslt2QEAIupSwjrS /dCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Im0t4U06; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fc15-20020a056a002e0f00b00687762552d6si6247743pfb.309.2023.08.07.15.03.23; Mon, 07 Aug 2023 15:03:35 -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=@kernel.org header.s=k20201202 header.b=Im0t4U06; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230062AbjHGV5g (ORCPT + 99 others); Mon, 7 Aug 2023 17:57:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229986AbjHGV5e (ORCPT ); Mon, 7 Aug 2023 17:57:34 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA44AA8; Mon, 7 Aug 2023 14:57:33 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 490AF6228D; Mon, 7 Aug 2023 21:57:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CFC70C433C7; Mon, 7 Aug 2023 21:57:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691445452; bh=Hjr9TC5T/2rdK2wbUjAujziz8ImCXcl8RITuuGXMqSk=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=Im0t4U06DzMB4wtkyZXrmkFPUAX3Fxpyy0MDNdyekL5M8fCCdm9IruGDp55cDUa2w +4hYC7Lt2/hI5/bWH9o/ATBup8f0cH//laVEISqdoteME7mL9Wx0x5wW66Huqywfh1 eOI7UhXge1+CKSoneaH9ALInBa+g8+qiVziGELnC3q7YZs57nWrupd2RwZlptO1IxA IkmvQ+LuA1Vzy9Z0jgQfMRuYdmtzrgwdgsjhYonsOh8PX91D+K8rpuHYeGCPhd9ZPa UYQigIMTSBeBsUyX7cXNbClECaSC6tBL2hPVuKPanreOgnJsPwDJfsNR+YicvABe02 5sSPavZGYoiRA== From: Mark Brown To: linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, coolrrsh@gmail.com Cc: linux-kernel-mentees@lists.linuxfoundation.org In-Reply-To: <20230806083734.7685-2-coolrrsh@gmail.com> References: <20230806083734.7685-1-coolrrsh@gmail.com> <20230806083734.7685-2-coolrrsh@gmail.com> Subject: Re: [PATCH v3] spi: spi-mpc52xx-psc: Fix an unsigned comparison that can never be negative Message-Id: <169144545157.329334.2631329470445507219.b4-ty@kernel.org> Date: Mon, 07 Aug 2023 22:57:31 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-034f2 X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,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 Sun, 06 Aug 2023 14:07:34 +0530, coolrrsh@gmail.com wrote: > In struct mpc52xx_psc_spi, the variable 'irq' is declared as an unsigned int. > The comparison of variable 'irq' with signed int operand is incorrect. Also, > the return value from the call to platform_get_irq(pdev,0) is int and it is > assigned to an unsigned int variable 'irq', thus redeclaring the type of > variable 'irq' to signed int. > > This fixes warning such as: > drivers/spi/spi-mpc52xx-psc.c:332:5-13: > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: spi-mpc52xx-psc: Fix an unsigned comparison that can never be negative commit: 4f5177458ba97734149897c5d4d44f85b8fe0348 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark