From nobody Thu Apr 9 21:51:19 2026 Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) (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 31A2D3A8754 for ; Thu, 5 Mar 2026 14:41:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772721687; cv=none; b=RUMkHg9FYRahvKSQU9+Y/G++OmGgksAPbgjHpUVO/qzQwaK1yzEuF3Zie9pslglm6OQelrdQi4+1kJpaqX7sUMElZpZo2y58IOqjAAiRONZry4SuQE8EN4iJH6zX1YWk/cgAzUtD4thYX9zzg1yCGOnLDSu/VsJCvDjRyIIhgII= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772721687; c=relaxed/simple; bh=fE+vZeSt6bldS9UtZkxfXCaEgvCLnrabSq8b9wxTLhs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nodwSTPB9PPwAuwA0BLGuxWX4gnhFyuVhG+S25A1RKxn2AckGof6pue8jhbSM8Ql5/KlSMTjXZHsLu5Amytu1iNxOnzIJPEgl4Rm7wAfbjHQd7fRKcUDNrkhwndB5cEJCqrlrmMgQxgMfpIKAr2tfg1RkivhNEATGvFG38WRavM= 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=AcRDw8Uy; arc=none smtp.client-ip=209.85.210.179 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="AcRDw8Uy" Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-82748257f5fso4371346b3a.1 for ; Thu, 05 Mar 2026 06:41:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772721684; x=1773326484; 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=FA8mu7UMK7lk8WkAY9QqV/IxQUyPyzGI/S0j94sfONc=; b=AcRDw8UyO6Tm2DDFJ4tWWMl15Bu1hMMytiO3dqouQ89qmz3nO6ZKssoSSdxEraol89 EBWCRmLr8J8T4GMrfk/Pr8IQMs/wP7aFDoHMRtdaUGUlQJHUTs2jVhNOiKDkc8v/J05i 9peNyHUgER7iWkBiqKdOiNxozn2kJv251SY9DmJKNl7uytE/pmYgpOwFyv7rUyFyRc0h LiSxwXEiZ2Sn1Pm90YcA5mO/8A6weORnYAi7Sy77HtgThcTPB8iCaDyo/kcbE8VFlbmj oD5oMMyNDejJ3MWAp8ZHkWFRTUJCT+vh062i09VSgrShHHPjG3FrgCI6MwHDqU13TUsA ijDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772721684; x=1773326484; 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=FA8mu7UMK7lk8WkAY9QqV/IxQUyPyzGI/S0j94sfONc=; b=LeCQsHaaV20jvLRL8adPygFFLz4oK7zSNcgjfcl/bKRXciPmwb6iuBdnMaFK/t+58t 14SUYDB8P52onBDWbpkNsrVBR98dmpNuc9zSVLl7zjz+00803zW5YmD+b4JVN3UWDpIM oiPXbLVTxULXXzriWZV544t4Qu2OAVdmML8XNKRPdGrCC4IGp64zpIuKFhBDsb2ZMXrv L9N5P3ZGxZxf75gjf4bNT6MV+H9vu0/Sp1Tl6N0UlXnPj1NDcCFV1cCFC1pDB0f9yLJ7 JNAGlfzWs1BbUvjibc1wyw9hH+QC5h7nwnBLEiIyPuR75bqOVgAlOHqKQMjmn3PKBmD2 dbHA== X-Forwarded-Encrypted: i=1; AJvYcCXUhR/afvW50v8/F0enONHgE4rXydhJYi3P7hpL7RH8oXZwVH/H4qrE1e8RGTqtV+wGiVfaP6tFf9Sxxhk=@vger.kernel.org X-Gm-Message-State: AOJu0YwAR8xc1D/6R2uUtmMyjRuGO9WwKU55UbegBujn2iOBGAm+FUbU AfhGxYn+3S4V3OnoH5FYpSki80No26huefK8ehTIM0EPVoOwTawyQBPq X-Gm-Gg: ATEYQzw8/i2PQf1S3xO6zUEAnrq/w2ldeWOiZkpE5KVPQ3dZROlqUXCFRY/LOvclhxb yECrrTWE/O4FLFclLTEucTsrBxxNzLBkfvMH2D5NRnlkicx9U3oSuIIUYvqofosjzDH4GafiMXF kxD+LD6vbBd1WfHkPGiJDPfP/2fpMpjP2GjudgfuZCHTT45+lGxGjzMKR5dshCc63G3O9TYiT41 8i3hxI4SyxUgfLkGNum2vKzZvwC4qlt3gYZSBATx8LBHqGhTRghtb66cMpixKUiCm66eoEsDWwZ 94ggQo/kD/Y19joMko6ZmPpFF9DNZgbKOpbuWh+0bGe/2os1vsh5bgtfEHPEYS3AXvHe0VjGq5C YP1FZOMEUEB7ba0BhpZAJYOxPlGxAJbRHbe1vjb/kmYt8ybWtCRmwrTHtcBgNsxfo4B++yhl+p4 oEMQ/26cf2cuIvx85atOAMfWMoWJtZ X-Received: by 2002:a05:6a21:9983:b0:366:14b0:4afe with SMTP id adf61e73a8af0-398426017c8mr2476782637.37.1772721684447; Thu, 05 Mar 2026 06:41:24 -0800 (PST) Received: from nuvole ([109.166.36.159]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c73818d94a4sm3801271a12.17.2026.03.05.06.41.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Mar 2026 06:41:24 -0800 (PST) From: Pengyu Luo To: Pengyu Luo , Heikki Krogerus , Greg Kroah-Hartman Cc: kernel test robot , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] usb: ucsi: huawei_gaokun: make gaokun_ucsi_ops static Date: Thu, 5 Mar 2026 22:40:36 +0800 Message-ID: <20260305144054.27848-1-mitltlatltl@gmail.com> X-Mailer: git-send-email 2.53.0 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" The gaokun_ucsi_ops structure is only used within its translation unit and is not referenced from any other file. Add the 'static' qualifier to avoid unnecessary symbol export. Fixes: 00327d7f2c8c ("usb: typec: ucsi: add Huawei Matebook E Go ucsi drive= r") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202603050203.KD4RWA00-lkp@int= el.com Signed-off-by: Pengyu Luo Reviewed-by: Heikki Krogerus --- drivers/usb/typec/ucsi/ucsi_huawei_gaokun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/typec/ucsi/ucsi_huawei_gaokun.c b/drivers/usb/type= c/ucsi/ucsi_huawei_gaokun.c index c5965656b..ca749fde4 100644 --- a/drivers/usb/typec/ucsi/ucsi_huawei_gaokun.c +++ b/drivers/usb/typec/ucsi/ucsi_huawei_gaokun.c @@ -193,7 +193,7 @@ static void gaokun_ucsi_connector_status(struct ucsi_co= nnector *con) gaokun_set_orientation(con, &uec->ports[idx]); } =20 -const struct ucsi_operations gaokun_ucsi_ops =3D { +static const struct ucsi_operations gaokun_ucsi_ops =3D { .read_version =3D gaokun_ucsi_read_version, .read_cci =3D gaokun_ucsi_read_cci, .poll_cci =3D gaokun_ucsi_read_cci, --=20 2.53.0