Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2045437rwb; Thu, 17 Nov 2022 05:59:06 -0800 (PST) X-Google-Smtp-Source: AA0mqf5kzU3/u/8u0rQz2C67fT315jDcAcAVgdQRFvoi4ZA06wFcLhrIWyQyVJ6BnQgdlXvGG09s X-Received: by 2002:a05:6402:5308:b0:460:19c3:2992 with SMTP id eo8-20020a056402530800b0046019c32992mr2229432edb.1.1668693546759; Thu, 17 Nov 2022 05:59:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668693546; cv=none; d=google.com; s=arc-20160816; b=IGF1arGudosxVnvY0X7WxAfSxDneNYVC8w6GOeqWz+PNMX8TMmupaBUyzqIPwEI9Uw fyLNJDhiSJMETPkdiuHTLmtXMgZjwztS4NAfkrv3hqr0Tq94LQEVHW1Fndfe6WYgYmBj jQj5hbuSUFRUUff9CCWmUdkBVXqpKRqemGC69VJe3cdoFdjVaEMrV4E8uYH3yCPsJFfL j6AUyGOp/DB4LYRDSsdabe2vT8k+lA8tAJaqQxgjsLyOHLwJhj/gO0hrxCxFyo/NDokE kgRz9/xs9v2u1AWRcoiJo1qSfVSloxn4xrlhV69cnaDZ+WZqWjmlDUPW26AMz4xjSnhi lpCA== 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=Eb+B8frGuobVTp2uKAV2WvAIWS83WPR5wFN84Wnz+54=; b=lxWhXG5SwD59D+Xt+b97OySe2a+zVn8OmxH0QhcETTi6dyWKD640dpS+EyzSKf3qW3 rB9n7wus30EP3uBCeoOzr7Bf5YGmxZIC8V3zoMU6n/VOeiZFyXu9w7DgSB0LD/E6mv9m dZlNv12Bv3TiH0hB9kSB3sv2NOxU/wRzFLe3jSpRGhHW4m5ujCKICTZSA1zvb/Xpvf8M sEE0zEcr/Et0OZ6YXnIA+yFUh9LPqSZO+v8Mk5VdseOuiQEeNzDdyf/CXe8F3LAaB/vj iBrG+iebNeU9O08J/G8Mrl34mHdTiOQ9zOhzzOzFGOcRpe8WI24bDV10deV/pdC/pjgz 8rlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=gVaArLR5; 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 o19-20020a170906975300b0079800b8172bsi671606ejy.450.2022.11.17.05.58.42; Thu, 17 Nov 2022 05:59:06 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=gVaArLR5; 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 S239456AbiKQNAP (ORCPT + 92 others); Thu, 17 Nov 2022 08:00:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54114 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239310AbiKQNAL (ORCPT ); Thu, 17 Nov 2022 08:00:11 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CF3D5916D for ; Thu, 17 Nov 2022 05:00:10 -0800 (PST) Received: from ideasonboard.com (unknown [103.251.226.79]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 40ED01056; Thu, 17 Nov 2022 14:00:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1668690008; bh=L3iuePaXU3I9Th2qNYgsdcfyya4frF4sh5w4xXhH/fY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gVaArLR5O9TBGGuWPC3CfM1iuFvXyUKFVxxhv+yzpg3QVEQzWVwMpGl70m0102nK1 LdEaQNAkhfeFlHjsoe9Orw56peP3CKcNLFBuoqnBLNBpTM6HiAr+ie/sFR4ewIN7oK qvJsHRQ/ptgyN6FK0dJMrDUDw6nBJqsPslpJNsWI= From: Umang Jain To: Florian Fainelli , Broadcom internal kernel review list , Greg Kroah-Hartman , Stefan Wahren , Hans Verkuil , Dave Stevenson , Mauro Carvalho Chehab , linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: kieran.bingham@ideasonboard.com, Umang Jain Subject: [PATCH 1/2] staging: vc04_services: mmal-vchiq: Do not assign bool to u32 Date: Thu, 17 Nov 2022 18:29:52 +0530 Message-Id: <20221117125953.88441-2-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221117125953.88441-1-umang.jain@ideasonboard.com> References: <20221117125953.88441-1-umang.jain@ideasonboard.com> MIME-Version: 1.0 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,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 From: Dave Stevenson struct vchiq_mmal_component.enabled is a u32 type. Do not assign it a bool. Fixes: 640e77466e69 ("staging: mmal-vchiq: Avoid use of bool in structures") Signed-off-by: Dave Stevenson Signed-off-by: Umang Jain --- drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c b/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c index cb921c94996a..17f8ceda87ca 100644 --- a/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c +++ b/drivers/staging/vc04_services/vchiq-mmal/mmal-vchiq.c @@ -1773,7 +1773,7 @@ int vchiq_mmal_component_enable(struct vchiq_mmal_instance *instance, ret = enable_component(instance, component); if (ret == 0) - component->enabled = true; + component->enabled = 1; mutex_unlock(&instance->vchiq_mutex); -- 2.38.1