From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C101D74BE1 for ; Mon, 15 Apr 2024 14:55:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713192914; cv=none; b=jABu9Y/E4chgqEU9BVID/Dwnb6pUBySEMSoB5RdJt5eAkaR7BC7jR5QuEjqwqRe4BCLpJUtGiGwLR4e8kcQFucAp1mOw1kvA2eH/vbvk7v64seQyDqQJCU5Zz5uUuas0mcRjcOP5OM2HRv3NQnFbNvSX0YnT5JiNX2VzD9790TU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713192914; c=relaxed/simple; bh=JISkIqiTw9XLM1iN4NJL9F8/uCtfkTAdwuGO5KhQj+I=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=LsHpsyAlnGpJo0pRosdq31kXowj2egTlLAyf3FAFx2ACBkNUPbmc8JiOmY3cnL11oUk4KW/ePifW+c9C8sOZntAQ0Ql7qqbmjpxuCvhl92DkzVTUQ0vziPJyYoEvwhjQ8fzwVZvAe4XBbl74p4zYXoNMf/L/leVV1jDuEsxh2eY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=fail smtp.mailfrom=kernel.org; arc=none smtp.client-ip=198.175.65.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=kernel.org X-CSE-ConnectionGUID: Pvu5i8dbTJubboGGJq39ZA== X-CSE-MsgGUID: ByhfFU6tRxGzalgI5mziBg== X-IronPort-AV: E=McAfee;i="6600,9927,11045"; a="12381363" X-IronPort-AV: E=Sophos;i="6.07,203,1708416000"; d="scan'208";a="12381363" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2024 07:55:13 -0700 X-CSE-ConnectionGUID: GF1cXNXXQTq08fbp/9jftw== X-CSE-MsgGUID: qt563BTIRzmjt3rMm7MNew== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,203,1708416000"; d="scan'208";a="21939110" Received: from smile.fi.intel.com ([10.237.72.54]) by fmviesa010.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2024 07:55:10 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1rwNjg-00000004REX-0221; Mon, 15 Apr 2024 17:55:08 +0300 Date: Mon, 15 Apr 2024 17:55:07 +0300 From: Andy Shevchenko To: Hans de Goede Cc: Sakari Ailus , Mauro Carvalho Chehab , Kate Hsuan , Tsuchiya Yuto , Fabio Aiuto , linux-media@vger.kernel.org, linux-staging@lists.linux.dev Subject: Re: [PATCH 16/23] media: atomisp: Drop intel_v4l2_subdev_type Message-ID: References: <20240415120220.219480-1-hdegoede@redhat.com> <20240415120220.219480-17-hdegoede@redhat.com> Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240415120220.219480-17-hdegoede@redhat.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo On Mon, Apr 15, 2024 at 02:02:13PM +0200, Hans de Goede wrote: > intel_v4l2_subdev_type / atomisp_input_subdev.type now always is > RAW_CAMERA, drop it. ... > - for (subdevs = pdata->subdevs; subdevs->type; ++subdevs) { > + for (subdevs = pdata->subdevs; subdevs->subdev; ++subdevs) { While at it, use postincrement. -- With Best Regards, Andy Shevchenko