Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1632474rbb; Mon, 26 Feb 2024 16:39:20 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXIVyn2HAsj4sv3qbUQCo8SUB8IrjNW3TEnKkBUKUmJ2jinGeqffu4Tu5EBpPVpNSGCgrR56fPIG/NVAff4HrJ9qYQfE0Gi0+lFOZGC1A== X-Google-Smtp-Source: AGHT+IEiE9FVSdD9V4iNDAeKhB9IDyMyLlpNWet2FJGVxEK/+AiESylux9wRuXJZtpbFmZy9u4RW X-Received: by 2002:a05:620a:4408:b0:787:bdc5:7caf with SMTP id v8-20020a05620a440800b00787bdc57cafmr1107889qkp.0.1708994360764; Mon, 26 Feb 2024 16:39:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708994360; cv=pass; d=google.com; s=arc-20160816; b=zHljak93vsAIQU1Ih47GcFdC5R9x8xWdAQt04DjEgX5F91wD/a7dXs9xf43rJFBKbu rceEkvk6VCfWHWYI8oyRAwcyID0hv5dbjOtyA8PX9DPU81jdMELiykAkh7MIkF5CJWWA xlz5lsmUJaPNhf89PGDFu561TqrBEwrZtpMi1Fl6upbH9SiZ2ScnRMOsXPqlCrjwbLd6 sQU56/PnycXL8x3PnsGl99jqCpqL76FhBN20utTN5PY77OP5Ye4i0p6uTI71bn71SUpr vLCZsJRZjPQRhJqzTvdFPf+Uqg1L4lN2P53HBXiUatpjjNsrOkG5r5iIjDUPhFjYBi2t KW4g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=AhrhA0X8avLtGyybofw8r1o+S07uog51OtbaDma0OpA=; fh=pn1LkAZdHpqHJY2LEQMs9bXgjP+LR7UjEgQkNyoUuZE=; b=aupde0J8Q/0hX/AoonRkR9to6JhLcSkhrWrDNxdp8eYZYwNCiI1HgSwFpfzfEnsM2Y oCoJpwzpMqeHP5m6++vhCXkAbfXEk4MNDzqZBkB2rmTQslIzGsqh3YV3Z1boK690g7KV CH7/BQ3KkPGmrHsHC0ojzW8Yvxy1gx6HhNvPjovMWWGy7AbDc3bafZwvbSocCWTh9YSN /t51f2tbBgIpLDVlEjvuiJbr1V88BIFnUyLPlWnHr7e8o8Y3wOXgKY2IU6i5yFwKvdXd yECkFehIfpr87psjyEYwGAc0BYx1bh9PiOFtoQyMuzBDbH5T9xzzVo3hnNdMcrGwAhbk g0sQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=UxEr2dFE; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-82474-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82474-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id i19-20020a05620a145300b0078715367700si6162808qkl.64.2024.02.26.16.39.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 16:39:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82474-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=UxEr2dFE; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-82474-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82474-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 603C51C216DB for ; Tue, 27 Feb 2024 00:39:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9C2C01C32; Tue, 27 Feb 2024 00:39:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="UxEr2dFE" Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 4956F7FF for ; Tue, 27 Feb 2024 00:39:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708994348; cv=none; b=saSpLdhEltK2ps+5+RTKoGA2VVOFStHO+DJw1tZVSQf1LbF+rtAwUSfOZX5F3YTNtjLk0iIaUFc+5Q6pn9FxWZm11DQUuASkOC9PHbbNWjjAGA/ng1DYCHOLzWkJl3mxyGZ4HejfbDEUwEXPVsVUaaufA5bHQigHS7QwJhRWmPY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708994348; c=relaxed/simple; bh=AhrhA0X8avLtGyybofw8r1o+S07uog51OtbaDma0OpA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=bL4U1XPjr7DMBhkhp3JfW0vBqanJle3v3Z0fsZpe0IMD7kEmq7ENNVIbfA0erXe1hUmeFrw6jNNgwPc4EFcx3DUVeYQAmaU5UOaF4Vawyw402pnD50pBpopvlbQBj07tJLnS3HomODAQQOOtsYYgxPXGzyqfqhCXhPS/4sm+/1o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=UxEr2dFE; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-412a2c2ce88so13335e9.1 for ; Mon, 26 Feb 2024 16:39:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1708994346; x=1709599146; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=AhrhA0X8avLtGyybofw8r1o+S07uog51OtbaDma0OpA=; b=UxEr2dFEwcUavdUPR8MIesb1pyxx7G1tkQKMfQUrDoxs0C5+rAyCWK/HlXoX+AUryZ ZRcXlUMXuyus5SfvYo/9wlW9/NhMfebjUzMFYHICx9hYFGgTt5StAiYhM1UDpPHG1IW4 V1HawqvwXp+gxx9Q8hYWcri+ST97kRKPImhLkrZTHRGKSYww6H2I0vcwKgqexdoOzDp1 ztQNP7nX9uaPoHT7PqmtoWQrqMVlpw4aELlDyBaGf/OGMbov/SV/lZrxLqsNVASXreeS Y49KekUN7gZsX8hjrjLVZkE3vACciVRtxkbk1rS1JBamTZDx+25qlg0iN6bG4YmKSUWj WTGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708994346; x=1709599146; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AhrhA0X8avLtGyybofw8r1o+S07uog51OtbaDma0OpA=; b=Po4O2xupiDZ2/1cQYpXOfvKtPQxF55oQ73zadZgIl7gTs7Nl5DL6HlHhPA+Aq7tqZY I6rnO1tqzBBr1lW0xuB9dBG6LW1mOPtG4trVSxXJ6dvbAm8cRIW9olA6nRxCxkNGlHz8 fop0EroPXyV8kqvKzCPDwLoTWG5we74wTVF9jNlXUzeyC1pKilKOYIDhfyN5wwX1HsDY PxB9vNPAqrOuHlTQeiT/KI8OhCNrEheNBr8n3bNXQOak2FsnJq54rq6/14Xg70srJbxv /vlbUrpTWBuhnKu0qKMm2l++Lf2jzlGMo961WLlOHEerjM37VnRLmzDfdzWm1t5iTdp/ 9I6Q== X-Forwarded-Encrypted: i=1; AJvYcCX1lS5mySs2Y6zE/qof3zX/uJqTi5YIDt235qsweJq2ot7nKdrk3UQHkE2V0Xee1iox1Svm+oNbtI4fna2QU6GstvEZgdWa8rC5BzWQ X-Gm-Message-State: AOJu0Yxf/WWm7gUwmVci5+nT2Si3eiAThzwyYRVTrur2HGS2+Hnws4r9 8ujEN/Rsl4Sd04KFlhi5YkvIrxy/r3rb19IMEXkPD4pUAu3zA91ljdslEXaMUPLi01tZSIk4Sxi UOCIgTQzsMm9F3H+UwUsmKdYkjnf956oly7RU X-Received: by 2002:a05:600c:518d:b0:412:a390:3440 with SMTP id fa13-20020a05600c518d00b00412a3903440mr49520wmb.3.1708994345708; Mon, 26 Feb 2024 16:39:05 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240223010328.2826774-1-jthies@google.com> <20240223010328.2826774-4-jthies@google.com> In-Reply-To: From: Jameson Thies Date: Mon, 26 Feb 2024 16:38:53 -0800 Message-ID: Subject: Re: [PATCH 3/4] usb: typec: ucsi: Register SOP/SOP' Discover Identity Responses To: Prashant Malani Cc: heikki.krogerus@linux.intel.com, linux-usb@vger.kernel.org, bleung@google.com, abhishekpandit@chromium.org, andersson@kernel.org, dmitry.baryshkov@linaro.org, fabrice.gasnier@foss.st.com, gregkh@linuxfoundation.org, hdegoede@redhat.com, neil.armstrong@linaro.org, rajaram.regupathy@intel.com, saranya.gopal@intel.com, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" > Please consider using two commands to retrieve the data. This will > allow you to support UCSI 1.x too. > Nit: I'd probably call memset before setting con->cable to NULL. > And the same here. Thanks for your feedback. I'll apply these changes in a v2 version of this series.