Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp768289rdb; Thu, 22 Feb 2024 21:38:05 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWkhEqeNrUGjqcOXduM43rJnGE6GOHBcnpP3JyCU4mcqwxJhgKKvMJKPYl/hyqpWu9h0C6rFcmtC+guJTr2wp9jxCC3x6fEKyQ0jlEPVw== X-Google-Smtp-Source: AGHT+IENa2UxjD2SDQEgxkRACq5fgF2BhJd20BSy3BIHcFuKUR6qtESot/o/F4y4hm8h0Yqu6N16 X-Received: by 2002:a05:6870:610d:b0:21f:840b:ea0c with SMTP id s13-20020a056870610d00b0021f840bea0cmr1055056oae.52.1708666685186; Thu, 22 Feb 2024 21:38:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708666685; cv=pass; d=google.com; s=arc-20160816; b=yhu4O40giNTyMkuQwSKjdZWxzWfhZ2xt1x3t8IyFdSoukclSPG+JSEWlQ7FrFwmpva 10L3FIKzw/7rZwi/wkEK6r61+J32K8BYTb+GigU7eGxdrpJy6qYkwJeXlylzSpnv5wav R+uGtzzXpjdCi9IhBmS14L6BeqGti+9vMOsUHIDw2De9leodgIZqEFRAPmJFeg3M0FFV 8CkROBUn13x6Jeko2PYK2aBfE1qnDgmyzIHNj+YKLx8A8yXbZBvarEnuJU9BN04C2hTC DG8mw955CDgBgl7pxLy+8Jdd9R/7wqXYpZ1DuEef1ce+N4dV1EThp0vh8k1TjX0a133W ufzQ== 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=piy9E/Wi6hWu5zacOupA8Uhn9Hcy3zaRnPaPm0Ffstg=; fh=pthlsoHd9nhr6nEewp9ZRtOME43s5S4YW8fP5/VLLCs=; b=0jzsY2Flcvi1ASHg/YzO0/Ivsfw7AjpJFZ1uMNJb4Iehfft+zml0EmsHTtpS80FfWj O2QBE0Kd1LNe4Fqy8EmoSHko4LZk/HddWlYTQEnPeqGL9iEoPqNumKmBi//wWYV8lXVO bQ30kg4uOAF1rN9sWDZ7Id47NNUiOd3GLHbMHdLqM4Uwp+B6czwhcnvrCx06N54IQMZn ZWbSouVREyhKDjKdJCjZXTeUPiBDGmRF3E452+Xqoz4yFIwDEb5jK4NTDYiJrw+ajIsc 4xezZqqamiO0lxvjRnqapfimKbi9dlpzz52P+9Hpzv1zxNxGcvXqfiaw5t2lV+xvr/OU 225A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="tr/za4bY"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-77793-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77793-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id x5-20020a654145000000b005dc556a8765si11580929pgp.466.2024.02.22.21.38.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 21:38:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77793-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="tr/za4bY"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-77793-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77793-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 28508B20D47 for ; Fri, 23 Feb 2024 05:38:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 717F2125A8; Fri, 23 Feb 2024 05:37:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="tr/za4bY" Received: from mail-yw1-f174.google.com (mail-yw1-f174.google.com [209.85.128.174]) (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 14CDF11CB3 for ; Fri, 23 Feb 2024 05:37:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708666672; cv=none; b=YvR6ei3Yhtvtq61bOBZvR3j6VKcbO7aVd3s9HM5qGFUh9d9PWNu63NMD4d9+bhQ1aK/aEb/sFNAXlG6NbkIUdAe5OtP4dkPBops8kHUhCAI1hG4TTap48Vm7mRSVeVLqgBossUm0OElyLiZU4LpLD3u+kIea2vYeoliUCkeH0Yo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708666672; c=relaxed/simple; bh=xsKSwLBBIARsj04+9pfUA2veziCGU0ghHiZxG7VQXh8=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=h9UABZOtxGf+EDUUqk20qX490ugGue/dr1vsj3AumphtQb9zX/reE/Yn9uQNjMXCPODWH3pyTbaAkJlOIv+dlTG0N/cw/7X8nBTAuXw8o95YdqGTbQC3AbNWH8a5an5fPk8oZv0dijwFlaOMeH0sTgk+CnELW0aRNFYms2kA7ks= 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=tr/za4bY; arc=none smtp.client-ip=209.85.128.174 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 Received: by mail-yw1-f174.google.com with SMTP id 00721157ae682-607bfa4c913so5300227b3.3 for ; Thu, 22 Feb 2024 21:37:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708666670; x=1709271470; 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=piy9E/Wi6hWu5zacOupA8Uhn9Hcy3zaRnPaPm0Ffstg=; b=tr/za4bYqPdXEzQgSb8MAEKZMUNJM+rRDCGzFwDvy8zq6tQsLmJOMqH/BMzI4QLfXC CoS0g9of08hJAY10QSDHeWBnze/HG9BiosShLEtkVuHwA35dLqRfEcOE9ClvXTeLwzhU a+IeDIhQuk40l68F58hKRz1la+lnRxNifERZEkAbyqLlm0eMFEEHcddBCc17u9eU45IQ +kJPXh6HgtDpQr/HahWX57V+jToUhsBZI0XIu28i2eopH/FBH0dJ6aTFV0PY2gfW880F +l3EKfq62SXlzTyE8yoqVmKO6mNZFASeQRksL5vn4jTNZLjY+YPIIqyK3JoXz/qM3WuK GCpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708666670; x=1709271470; 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=piy9E/Wi6hWu5zacOupA8Uhn9Hcy3zaRnPaPm0Ffstg=; b=g8I23G8aGM8tDrxSIHe5Uu3zFvTgu95/AP+GzmdAWS2l691UTpdxOYd4SWo2eftWRJ 8/Q1VmAWbPNjPJjYWGuPjNLefGr6ZbVR8puJTVM+rTZGB/bseyWrpgqSRmuOKcGA+M6D xkxA1/vJJbLcEziCpKKvm2egaH8QxjZVLshVLq9K72f3zcOqJjICD3ahm2oU2tTP2fua 68IKz1FQxmkoRDOWJR+8bl+luM28MAaQBhgsaVRjL7/FPoM7ruueYAx+eZMGNDd8xfiA JOlejUBezU+F6nNi6e0C0G5PL3NUjk6wNezwLbyuEhV0TyXUg5gWRGPHAyePE5/9sl2h NdAA== X-Forwarded-Encrypted: i=1; AJvYcCUZfNeGy7bKpqFE+9Y6foeO+oxvreVvbLWawI9Ngb932VfFfir3aFMqrB4R7lwom0r/itfgkk4fwAkwnFNJFCy1BKrs87ERbjBGl3DA X-Gm-Message-State: AOJu0YyyaqYDsxfsQzLpU/VxQoO5ANYocaqVRvZgALNzcrZLhxlqDzEW WyBVtiKhfFP+q+Ytnb2oVFPPma3gEbGUntaa48HHteTVACWA0l6pQt2OH6HMvRrDaUDLWHcstho SHAQXpRwoALIklqPTXCRI3IlMRDmBwuayaHtmzQ== X-Received: by 2002:a25:4e56:0:b0:dc7:4bab:c390 with SMTP id c83-20020a254e56000000b00dc74babc390mr1041815ybb.61.1708666670011; Thu, 22 Feb 2024 21:37:50 -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-2-jthies@google.com> In-Reply-To: <20240223010328.2826774-2-jthies@google.com> From: Dmitry Baryshkov Date: Fri, 23 Feb 2024 07:37:38 +0200 Message-ID: Subject: Re: [PATCH 1/4] usb: typec: ucsi: Clean up UCSI_CABLE_PROP macros To: Jameson Thies Cc: heikki.krogerus@linux.intel.com, linux-usb@vger.kernel.org, pmalani@chromium.org, bleung@google.com, abhishekpandit@chromium.org, andersson@kernel.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" On Fri, 23 Feb 2024 at 03:04, Jameson Thies wrote: > > Clean up UCSI_CABLE_PROP macros by fixing a bitmask shifting error for > plug type and updating the modal support macro for consistent naming. > > Fixes: 3cf657f07918 ("usb: typec: ucsi: Remove all bit-fields") > Signed-off-by: Jameson Thies > --- > Tested by building v6.6 kernel. > > drivers/usb/typec/ucsi/ucsi.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Dmitry Baryshkov -- With best wishes Dmitry