Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp177419rdd; Mon, 8 Jan 2024 23:58:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IF8X5AEIxkv79J3EnExmHRkdDX9pb2pprFDKSuJKgpHa3kFtndGto8UIM/VW121T6hDWFZX X-Received: by 2002:a05:6871:3a07:b0:204:430a:8e68 with SMTP id pu7-20020a0568713a0700b00204430a8e68mr6031609oac.51.1704787113561; Mon, 08 Jan 2024 23:58:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704787113; cv=none; d=google.com; s=arc-20160816; b=Z9ZeQ2kHfqF1m9sFALGPXMQNy8MAdZAvHbac/F7ljG7gTMcPChBRBiXG7fml5lRWb6 ddE7DrFsphLHt/qupvGYi+qD6oFRbWlwTbOylwKJl2Hn46aAEDMoUL/QcxfVOw2F1qSf ZPzggOmCDw+LW2TTmNmlCAywZz+Dw8fIV2CDwkaANcRfZmQ/I7QESUfEK8BYmqnv7gW3 sETXFknfOxJgctmlmSuY52v5XeihHZehFca3EnwxTFhqNkPrRepIU6KGYyE5V7e5SGWf AVZBJ08o34IkHMst7U2kL4FX4dwnPSVEEoXDseYoZ8JRvDqBqHfwYWYi/xEVpBc01Li+ MxbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=LJaAgkMysyU+rJly+ZLjAMA6XzBdKr1ifp5VcfkkRmI=; fh=9kRuYzQUuzmMEcgGfeMLl6gtHz4fNdntzm4K5pzUtlM=; b=kVcR6Gb8EpOeOEQGTOfXJJy721dqQyYfsr7MeTPSHP9+BxnyfFR9PsyDmm+9ZWPUyV 3/seZ8AcG01OlDBVxeL0mr5zFC4wJEJN7rFdPaRSaZhnttxLMRVeCayvbnvgWOTJ+zx6 HsvnZnH6naPkOsF4GqRF1u6FNOeREmr5KkFcDlq/DOFaJtlC8H5NZjzOkS6fguX4vLPU dNxIXJm9WueUNYygnE1uscNua2QZgTbiL4h3VUiWldDQn4+52BdLcUCWWTd9hRtlAcRU ly0Nco4jsjefEk2DEi5gR6pTGXd7C0u4YIPzD7dLLjAkUcF0Ya2OkjWgXY+qylgH7IKl zdmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ntJSrakW; spf=pass (google.com: domain of linux-kernel+bounces-20505-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20505-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d18-20020a639752000000b005cdec52cdddsi1048872pgo.837.2024.01.08.23.58.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 23:58:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20505-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ntJSrakW; spf=pass (google.com: domain of linux-kernel+bounces-20505-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20505-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 364E1287E70 for ; Tue, 9 Jan 2024 07:58:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 721EE125A1; Tue, 9 Jan 2024 07:57:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="ntJSrakW" Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6DDAE2D60B for ; Tue, 9 Jan 2024 07:57:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-1d45f182fa2so23347115ad.3 for ; Mon, 08 Jan 2024 23:57:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1704787050; x=1705391850; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=LJaAgkMysyU+rJly+ZLjAMA6XzBdKr1ifp5VcfkkRmI=; b=ntJSrakWiG48I6/vXlFku3TzkbRf+vg8wL8lj5CXWzJ0dx5TUjOTH2Lmz3pQ4Cb5Gy 4tjHC9MhSmdQ7UTxm4WvTtZ91C/n7LaX+J6fpvn7KtyIf2Df+xy3ed/UHLn6P83HDxvh yduFZca1LHnicY7AaoYffaW5p5LGekw/13mNQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704787050; x=1705391850; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=LJaAgkMysyU+rJly+ZLjAMA6XzBdKr1ifp5VcfkkRmI=; b=FDzxKfv5QN1+3gA4i1xbKsAS5Un3qp9C30CEa2/FBjT7bSKy3xOhn4Px5DLT3nYCeD D5v6L2w7+mqivygLwbaVcwzchShCfLFh/o/W3xASyWxYghtDdcdXaWrQVqOG8/9LNSeb 0xQxtANYODwCfio4rclqFiZXIkpZ5kCvU6eZMeth4oJUfobZW5+JoHgy9zsSjcSCJdaO FMM3lwrTJVMj4iz48qORqkJGKRf9IkMaCaYXCJ/f1bGgqCmpUjnChZ4FC0KQIYT/zvIx unAz2pRaysYW3JXuXzuvEsm8fJEnd4p98/CBlaPsr1VGlVCKO7SuC4U4H3Bi7tTsSehu ayRA== X-Gm-Message-State: AOJu0YxV1pihAA987FIfgUN8MdX4mnGFkg4xkeOPGg/7LnL2tKaWW0Zs 6UMNlDBWvvk9CWybl1qAh83vpYZjMOcc X-Received: by 2002:a17:90b:383:b0:28c:e64c:b97f with SMTP id ga3-20020a17090b038300b0028ce64cb97fmr2688891pjb.85.1704787049720; Mon, 08 Jan 2024 23:57:29 -0800 (PST) Received: from localhost ([2401:fa00:8f:203:7b29:709a:867f:fec5]) by smtp.gmail.com with ESMTPSA id 15-20020a17090a000f00b0028bbf4c0264sm8420053pja.10.2024.01.08.23.57.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 23:57:29 -0800 (PST) Date: Tue, 9 Jan 2024 16:57:26 +0900 From: Hidenori Kobayashi To: Dan Carpenter Cc: Sakari Ailus , Bingbu Cao , Tianshu Qiu , Mauro Carvalho Chehab , Greg Kroah-Hartman , Yong Zhi , stable@vger.kernel.org, Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] media: staging: ipu3-imgu: Set fields before media_entity_pads_init() Message-ID: <20240109075726.4ht5nqrtevzk7yh7@google.com> References: <20240109041500.2790754-1-hidenorik@chromium.org> <68ff6c83-b8c7-4bcb-9b94-a33ab83aaf58@moroto.mountain> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <68ff6c83-b8c7-4bcb-9b94-a33ab83aaf58@moroto.mountain> On Tue, Jan 09, 2024 at 10:51:15AM +0300, Dan Carpenter wrote: > On Tue, Jan 09, 2024 at 01:14:59PM +0900, Hidenori Kobayashi wrote: > > The imgu driver fails to probe because it does not set the pad's flags > > before calling media_entity_pads_init(). Fix the initialization order so > > that the driver probe succeeds. The ops initialization is also moved > > together for readability. > > > > Wait, I was really hoping you would include these lines in the commit > message: > > the imgu driver fails to probe with the following message: > > [ 14.596315] ipu3-imgu 0000:00:05.0: failed initialize subdev media entity (-22) > [ 14.596322] ipu3-imgu 0000:00:05.0: failed to register subdev0 ret (-22) > [ 14.596327] ipu3-imgu 0000:00:05.0: failed to register pipes (-22) > [ 14.596331] ipu3-imgu 0000:00:05.0: failed to create V4L2 devices (-22) > > That's what people will search for when they run intio the problem. > Could you please resend a v3? Normally, editing a commit message is > pretty easy, right? > > regards, > dan carpenter > > Ah, I misunderstood then, sorry. I will add the error lines to the commit messages and send a v3. Hidenori