Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2790206rwb; Thu, 17 Nov 2022 16:27:21 -0800 (PST) X-Google-Smtp-Source: AA0mqf5EXgOzS7+mxG4LDe56JfMwAvwsWYhhrDWx3ail4BUFvLnSXRX7SKVERvYXs9QSA3oQreRP X-Received: by 2002:a17:906:c40b:b0:7ae:1e53:95b2 with SMTP id u11-20020a170906c40b00b007ae1e5395b2mr3972794ejz.333.1668731240781; Thu, 17 Nov 2022 16:27:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668731240; cv=none; d=google.com; s=arc-20160816; b=0nZPQbLyrglluN+l0eLazZzgZ0o95IcDaCl9TFmBI79YT/LElPRIP5IETdDbQtxvL+ bOYGtT1c1twWrNtn1h/ihXDrST5a+TTayNh4bnIEnCuMlv5ICqjQYUHjo8BhcoM0a1oz iraaFU36mnKOgI3DDQTpVA57mu1I1cIsm7FZvRB7rjlKqTGGb7Vum2pTwqQyS9sraCkS EtJ4lC+6NPlLZPO6T4I/mvK5VirMlvBju+4L1w1iwpzBTx8m1lIvm2hGBmBz/DscER/s WLJwF5/2kGMmt877adVGLBBwlbjjhwGkKF9CjrawqVoGsnMKgaJgyNqx9n7vr6nZ1DTs MpYw== 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=vnjQmTC/wsgxzJxBRPH5wu8f/2i0ufO7ZIgOBXQOg2c=; b=tXBaL0lsg2a9u4TCEk4YOrv3OLK7qSf2sE1s9Nt/AEo+MI2pSExGoM96RJvTrVaFOJ SL40tnxfvjoegjmOgdQnOIyl1b1HLkE9EYFenuxW7LZ64wYWWNpTlvlxVvU3JQGsH63C rxmEorqCE0PQMA2gSM0knToeoLqYeHyN0chGoqN5KUy3+0ha8a+d8xabe5b9vzrFnZqn 8sM88zENUjlFm/lIiZNRYAR+7JlS25eeoMwCKWcuaQ1J0UcvWwoDGKXxSkGCfN9+MOuP h4/1puoKZqmcooN3Bh5lDrJwTbwksgi+Ma9jshEjmRLxG6mRCKGcpCWc4pUrrr7KJq0W 2hEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jUV6xj2Z; 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 z15-20020a17090655cf00b007b28c65ba9bsi1241256ejp.246.2022.11.17.16.26.58; Thu, 17 Nov 2022 16:27:20 -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=@kernel.org header.s=k20201202 header.b=jUV6xj2Z; 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 S234813AbiKRABP (ORCPT + 91 others); Thu, 17 Nov 2022 19:01:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230447AbiKRABN (ORCPT ); Thu, 17 Nov 2022 19:01:13 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1EFCC70A3D; Thu, 17 Nov 2022 16:01:13 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D3131B8221D; Fri, 18 Nov 2022 00:01:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 12EE3C433D6; Fri, 18 Nov 2022 00:01:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1668729670; bh=ov1dwfKlY10jlyvvrILEMTGZym5hMBZuKYP5HTVbbNw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jUV6xj2ZuGt6gS++XzvZWg0g4N5kX3l4CCDn+/3k2C9z8oqImtI0RiS453F7mzV7s /i8YeU0Zk/s8iJXQZvkZ6VIwOVUccL/fB18s6uWeB5TNua5NHVLUQcG5c7g3lwD14I 8Jqpt6YpzqDz7axweXGMZ0ccO8JOc2xAcPv93xP/E/hb/dTFiKsoQ4w++pKZjAtYEK elqG3Gz2r/BxmLl/PYwBnq6HveJstEV2yXkKHe9rQMIiGcSH/mM6UsBKQvXKyw0b+4 lUDo3Np0l8usOfpNZ6bY7az78OiFW1/7dNoUFwg0kK1zJKH9f5UD7Xjq08EDHn3Vgp D4no7ZB6I5rHQ== Date: Thu, 17 Nov 2022 17:01:08 -0700 From: Nathan Chancellor To: Stephen Rothwell Cc: Daniel Vetter , Intel Graphics , DRI , =?iso-8859-1?Q?Jos=E9_Exp=F3sito?= , Linux Kernel Mailing List , Linux Next Mailing List , Maxime Ripard , llvm@lists.linux.dev Subject: Re: linux-next: manual merge of the drm-misc tree with the origin tree Message-ID: References: <20221116105702.746ce3cf@canb.auug.org.au> <20221118090636.00bfc293@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221118090636.00bfc293@canb.auug.org.au> 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 Fri, Nov 18, 2022 at 09:06:36AM +1100, Stephen Rothwell wrote: > Hi Nathan, > > On Thu, 17 Nov 2022 10:29:33 -0700 Nathan Chancellor wrote: > > > > This resolution is not quite right, as pointed out by clang: > > > > drivers/gpu/drm/vc4/vc4_hdmi.c:351:14: error: variable 'vc4_hdmi' is uninitialized when used here [-Werror,-Wuninitialized] > > mutex_lock(&vc4_hdmi->mutex); > > ^~~~~~~~ > > ./include/linux/mutex.h:187:44: note: expanded from macro 'mutex_lock' > > #define mutex_lock(lock) mutex_lock_nested(lock, 0) > > ^~~~ > > drivers/gpu/drm/vc4/vc4_hdmi.c:322:27: note: initialize the variable 'vc4_hdmi' to silence this warning > > struct vc4_hdmi *vc4_hdmi; > > ^ > > = NULL > > 1 error generated. > > > > Obviously, the assignment of vc4_hdmi should be before mutex_lock(). > > Thanks for pointing that out (silly me :-) ). I have fixed up the > resolution for today. Great, thank you so much! One less warning to worry about :) Cheers, Nathan