From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (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 2899C36F40A for ; Sun, 15 Mar 2026 14:57:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773586675; cv=none; b=ThMaLaFk/TLvcMkIbgkRIbCiW5U9jpjfX9eeSRGi6TaBj2nxTWqp1tmQo/4CflIEWM+rxMtZOlUldMRvWYeDNJvmIca99Y9JHQWoZt8orAY63EyOlBLt7aElmYyK58c73sTMJunGgU/1ot7FXGOvgPYxlQjGJ5wcapn8DPXy+/w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773586675; c=relaxed/simple; bh=SiRwyVMaOt26CFo87S22fI41JHdBoXMTM4/ZskBurXE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=in7R5wi3ZtAlugo9mvYgmhnP33BGJofz/PP8NjTg45gdXefL0+aTZYLf5MwWX/bfr8wsAVnfEGb40mR4pzb2SCqjRkHoYI2MS40AxsLlCHZdU2Jn7fxTZs85GrO3HimADBvMV1WCeHWjwq4XbFsEudB0L0UDaRz9G+e3xRFOydM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=IytYzQu+; arc=none smtp.client-ip=209.85.128.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IytYzQu+" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-4852f8ac7e9so44497585e9.1 for ; Sun, 15 Mar 2026 07:57:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773586672; x=1774191472; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=M/2BRNq572F4jbHk/ajFuRXBu8mra5iBIAIM0r9vlKY=; b=IytYzQu+Q1YbhCNheRVSPndn4Ly78U978fiFF/kIQUo6Ikm2+lbxc5riJ9OlnQFSrK 0X8UAJrhHzlRwlTUwWEMi4MC8AC8hI5xEBkuAvxalGmss7zMHGFbCHc0yQgKGulm7msW AuZmdF5wrrBcrAjff46INaGvg1pMY2XRcZQfoKQ89BwWzkRFWoqRoSUQzdNcJrB9wxtC eOkLhTkFMA5C216CCMIyU/LY1OsA5zuCIjL6sT6wxQC1UyjFo/lGo5wvzHqVw/mbns5b 2iZMw2KSc+CD1f988DX1xF3EldJhx7AdPLaRvkDxdUKMRkXYpEyFF0S2efqFH2w9rLrc TpUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773586672; x=1774191472; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=M/2BRNq572F4jbHk/ajFuRXBu8mra5iBIAIM0r9vlKY=; b=Xda7zMXWOqenJDi7nGp+GKWElHLLuc6Ir6xxry1cbZi3UrQMJgawcHD1J3J2PJROp+ z0XyHevVf4PuGgRuFXqo1yEv+bghgETxiyEM2su0oIXHYNC77bztfq/R1zx651EB+5kL DNob+cd6S/iulDXa+6qs27IvSppRlqE8SpPyNibylw2fBULQMPHA+gjXsXuLME5sYCKT F+cbDMQnfSyyUZ89JuzpavTqKpF8yJ76PrWs0391bgH/MMZE2FsnahQl30ENDi6wTK5O yGOUW5dwqbAhgzIye+M8irDd2+z7K1Os6LH2tPASWFFe6frqaq7EhhWRKpdxEGivkVdr AnNA== X-Gm-Message-State: AOJu0Yzby1hyYxp2VRoMQ3OMkDyreOOfkKVRKDiPVq0kiohtxoQxM62c yadDjFrm5GWh8cBmxY1PQC0PNtwyy1Pj7qPAzO6b8Tprq8crlZ2pCmTt X-Gm-Gg: ATEYQzwProJ8ASAgSKEOtpme8F2YofO5yOOAKUt3jFDEqyXh8n7LPw4xcs4FAf1ERjj 8Xm3nPWUyxjmAkQK2de+oH2LDDIPY7qE77MKFCWI0RQQhRcNMlXkpyTDJMp2bF8Mz25EFTXE+6X uRZYIandIcPGzblhkOl0YzmHFbXtp47A/bnKTwY6Xk4+NCB2JsFHN/Eq4ZKr0S5Ucm7YkMUEGAf 8mNKPrhK4vb5SpFrZVFy+Bc8/LsXlDeHoQxS777QGsDZ1EzuaABt7xnG9Bsec2EyY78MGEFHVSJ 3qE3aeDPYLZgTKYzkxWsdOs/b5zQUPOoWxcGyA91AEETSktIWo16pK9RRTL1GaC5OWu9asoMGuz 3WN/NildqxkrkRztzhEWmhcJPZJPnKwb3qBpxMkfLLY+WeDA97mwSgcUmOu2uMslUdw/HkASQqw i3bD1jz7sYzrslXzNMP04Sm1rCf8UN7h1OApaZUnrUrRgOKA8EMcXpJOMRLU/6eZGoTRNRUlg0n CXyNZduNCDNQLWaq6C+z1hjkwcWng== X-Received: by 2002:a05:600c:a46:b0:485:3b50:fe54 with SMTP id 5b1f17b1804b1-485566d6ff2mr172812215e9.11.1773586672426; Sun, 15 Mar 2026 07:57:52 -0700 (PDT) Received: from DESKTOP-TILNSD1.localdomain ([139.47.104.103]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4855725572csm135599765e9.2.2026.03.15.07.57.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Mar 2026 07:57:52 -0700 (PDT) From: Kit Dallege To: Heikki Krogerus , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Kit Dallege Subject: [PATCH 2/5] usb: typec: add kernel-doc for priority and mode_selection members Date: Sun, 15 Mar 2026 15:57:41 +0100 Message-ID: <20260315145741.24128-1-xaum.io@gmail.com> X-Mailer: git-send-email 2.53.0 Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Document the priority and mode_selection members of struct typec_altmode that were added without kernel-doc descriptions. This fixes the following warnings when building with W=1: include/linux/usb/typec_altmode.h: struct member 'priority' not described in 'typec_altmode' include/linux/usb/typec_altmode.h: struct member 'mode_selection' not described in 'typec_altmode' Signed-off-by: Kit Dallege Signed-off-by: kovan --- include/linux/usb/typec_altmode.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/usb/typec_altmode.h b/include/linux/usb/typec_altmode.h index 0513d333b797..c7cfc4629484 100644 --- a/include/linux/usb/typec_altmode.h +++ b/include/linux/usb/typec_altmode.h @@ -26,6 +26,8 @@ struct typec_altmode_ops; * @mode: Index of the Mode * @vdo: VDO returned by Discover Modes USB PD command * @active: Tells has the mode been entered or not + * @priority: Numeric priority for alternate mode selection ordering + * @mode_selection: Indicates support for the mode selection feature * @desc: Optional human readable description of the mode * @ops: Operations vector from the driver * @cable_ops: Cable operations vector from the driver. -- 2.53.0