From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (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 174C5239E9A for ; Mon, 22 Dec 2025 04:22:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766377355; cv=none; b=AotsVyLDliIl7DR5KdEocfIC+8BcRJ0ich4eac102r1hTTvyCNlZ7DFmmCDTTwcV6+NWwMswd2HKSq54NHnwiWh9H8fpKF9vaYq41vvi2hK5GRG8x4qi7o3xc2z0F+butVfEVrK2jV4kKFWLkHeZ5Q1vU1SdL3wkUT/gP+BC53w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766377355; c=relaxed/simple; bh=0LwOEmSLUvqtOCFnBOOkFA5xwF1Cm1Ys6DbVr/XikT0=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=T7a/34j0eSfAUEmHA/PvP/ct+tlZTIbQrfKv5ZfP5R/8FZCp90ekcdxw2jHYvXkDy+uk4JFw5tA5fkTFMslYC/pfVlYrk6XHzGcFytvLTPt1ys4xNkglvrhpZP3S+scmd4hORpINQo8DsL7yA2B+xXpSwaDswGo5SAXNEfAPxIk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=awkLY/5o; arc=none smtp.client-ip=209.85.128.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="awkLY/5o" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-47d1d8a49f5so13508775e9.3 for ; Sun, 21 Dec 2025 20:22:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1766377351; x=1766982151; darn=vger.kernel.org; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=0LwOEmSLUvqtOCFnBOOkFA5xwF1Cm1Ys6DbVr/XikT0=; b=awkLY/5oXNBRR1PTFM84o7+kdw8iRolfrYgnDWMFBE2DzbgjJxUt2nSCm/rbj17GAc DBZmqWnoUgSJuPSndUddgJWbWocTRYysorTvNsod3FykGCP75pkuPuyryO6GhuXsSNwt 6/HwdDJ2SN8uMfAARMAc4xVPXsDAcMULDe8VgiAd+tNJmVw3BAg3hFIoKGKQio21RSxc Rs0VVpF+jJGKTaFg0nBn5q1/Dp5OQXC0dZ0akMdACraTvAP8v9vUIR2TRVoepx+dSJLV NpEVsGJLHA6woE1SdpyzB3ETVo8i/O9co5CNU/t2LFde1IZMssOkBis7HKMYuKhTlg4+ MGfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766377351; x=1766982151; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=0LwOEmSLUvqtOCFnBOOkFA5xwF1Cm1Ys6DbVr/XikT0=; b=Xj6VhPc2AWjhmrUInXkBnrTRUSAW3dbZH0GU4g1yxamPnbq61iTPbTSf1evwelnhA/ WK97m8CUBrP7ZKdg1ARFOc7aiTzJITWWukKaqubKfWAOkhiHZ28dkLroIx+WM2epsV1v B5LaW5THj+e6VMe5OosYs3ifmrYWB193a6H7nJ2ZId8sZGyl+0gkVvJxssFe1rFGdR4n wFD9oU+V6MPRjNJbpLXFvr/yabtbCqQAaDx5r4DLCAddpZ8ntc/z5IJn06uOCqtUA/MS XgSqx8GkLdp1iSVKL8oxixZPHSWaZ0V2RgCVdPwzmVOki47y1BTsBuHahk66pTCidDPf WOcQ== X-Forwarded-Encrypted: i=1; AJvYcCVVFC9yC1rJaqpRsj7Tk/1GySn03eL1mEPKC/ahfFOlCmrbzmkMoAe2BJ7ZFlrJe36KGm+mXsLBlRth1GE=@vger.kernel.org X-Gm-Message-State: AOJu0YwoGFY4uaxKMpSIDIv8ZFox2d0L9ZHRI58/1HYz8ySMPFPjjk/O ZqY70EfdfKOD3PUrytU9aVSXL3MPAIN/WWBU4AIMF0wv/LQcokhOSNIwOx8EzUSnUy4= X-Gm-Gg: AY/fxX5JVJt77W9vzTiC0KzgYVQZjvyOGi3lKUF9zwPnCcfOpgielMXGRP+uAoB/B8+ OUhHjkskeam2pFpDLV7EfqKY326tsUhDfj/1hi/R+4bCYUa8RH+seVCil/+C90GlNIlVrl/K8XS evyoW5uGcq59pYZukhT1EhD1gTYtkVNB+CgNz49YFud7SgXIk0cMj7lyLhK6T9Kzkpjz63s8T/q kuNhPWj2Rvd7uAL9o1ZouZ2DEvrGgaaQwWieqOyD+KyPGZ6F3tco5bjdTATGm5Ufu3YpRmy4ZgQ t+I1jSBMjtZBUw+8nG0kOp3HDzkmvkzdSPULnwzqKVx2tamqUjZyGBpJLfQMgzjFqOX6bah76qW YyWSOMbyBTJbNoIglKXyY71BLyZK9NzrX5R0MaiW7nv2ChNH8KzNOhnUn/Ev+e55Og98joNAf12 DT3IA8MX8HHN2vKgfm X-Google-Smtp-Source: AGHT+IEs9e4aPSZitB+bwWgO0s/e++ZvJwYm1tGEu5X55DpbwZELF7OMqDSKx6sWEcr+z5bswR/5FQ== X-Received: by 2002:a05:600c:350c:b0:477:7658:572a with SMTP id 5b1f17b1804b1-47d19584900mr84023475e9.20.1766377351470; Sun, 21 Dec 2025 20:22:31 -0800 (PST) Received: from localhost ([2a02:c7c:5e34:8000:7db7:794c:2c30:e530]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4324eaa0908sm19706896f8f.31.2025.12.21.20.22.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 21 Dec 2025 20:22:30 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 22 Dec 2025 04:22:28 +0000 Message-Id: Cc: "Liam Girdwood" , , , Subject: Re: [PATCH 1/3] ASoC: codecs: pm4125: drop bogus container_of() error handling From: "Alexey Klimov" To: "Johan Hovold" , "Srinivas Kandagatla" , "Mark Brown" X-Mailer: aerc 0.20.0 References: <20251219142715.19254-1-johan@kernel.org> <20251219142715.19254-2-johan@kernel.org> In-Reply-To: <20251219142715.19254-2-johan@kernel.org> On Fri Dec 19, 2025 at 2:27 PM GMT, Johan Hovold wrote: > The dev_to_sdw_dev() helper uses container_of() to return the containing > soundwire device structure of its pointer argument and will never return > NULL. > > Fixes: 8ad529484937 ("ASoC: codecs: add new pm4125 audio codec driver") > Cc: Alexey Klimov > Signed-off-by: Johan Hovold I was about to ask to check other drivers/codecs, most likely wcd937x as one of the reference points to pm4125 codec, but you already did. Thank you for checking this. Acked-by: Alexey Klimov Best regards, Alexey