From nobody Tue Dec 2 02:29:09 2025 Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) (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 11AA2366DAC for ; Wed, 19 Nov 2025 13:09:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763557754; cv=none; b=uMwmpL9Vd6N1LzyJI0Db2vA6hT3U8oeBXHKNyIgE9PuYkMk+12ZbTC25uMxrkqmWL2o03v7OQw9zo/aqfbqJhRRjJN50+xQ3+yb97h8vccshqlvdcqrqj+EU4r1KIypANS02ZfBNLYIPmBvtoUZN3aPSEKAIvng8GsqW6czIPG0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763557754; c=relaxed/simple; bh=PrZRUUyTCW3e5F7Tub3IHjfsyp91NTQ3XS/2sGiYIU0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=hVK3wekuqwMJ10+pZAPsjzSzSP8Fqf+/Ye/TWeygC8aw6fNUai1MqG1c/bSIRsuvz/SydgBxBJ13ckn1GDFWxIBm3raxvCkX1fOOLixGTxxc2X5CITDM17RyXjMmR2EwXHz8zccC9aJQQiN+Kk8WOYNp8E96X4NN2jM/GMrwE4g= 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=ZbbohEz1; arc=none smtp.client-ip=209.85.210.175 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="ZbbohEz1" Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-7ba92341f83so3250570b3a.0 for ; Wed, 19 Nov 2025 05:09:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763557751; x=1764162551; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mkCQIdAzhDVpx+Df25ROecYMMLKgKqXNwwF079CDyCM=; b=ZbbohEz19HBGLgskMfYtFFsnzJKo/M1v238+OP/FyyvU5IZ0f43L6g8G2LT67kch7a a1dAIvOafAkOUpmhCfCXtOZAtP+6T4t+Kw9bBLi1xZoK8+d9m74d9qJ2UAACRKwHk9IX eCn0LRneXB1lakYPkVbu5QP67rug3o7kxexQnEc1xxswlGiK7NEVJGghqzZFeXWDRG36 bt59LbZRpsz0X5r3o0TuF9Iw/w6Y8F+10w2PZqNtZFfmQBJKXUFT7GOZOsg8FGgdGGuX 1zDCv8bSYbla7TLr50647Z+AhdPtYv+0hV1+UDPim8Cv3JTZl3paagJ7lZnZjuGkep5J 9eww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763557751; x=1764162551; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=mkCQIdAzhDVpx+Df25ROecYMMLKgKqXNwwF079CDyCM=; b=p74+V93V1vUQJa18EosvZr5kA4w+DpHyQCfQD3iOVrBCrvRPRDLcL4vogFJypfS3gG /WsNktzQvEBTSZeSR93w5TMgcPAgjQysFzqC5qfXg4aumLpwhUO00k78O6YjkiY3kpzS rdcEGrZvqA0UJ9WUJfd5KAY8+rwEZ8xfeyqzjzvr/XCI0PnyZSDVppt7szslfOJjqkZ5 VDk2kZbLOArgIlKnyz1ITOYUJlN0EAvU4aZ4ciMNwjNWcWYAwZEXU04u4q+JnWdJ0bG6 f3bMEEMIujphj15ZsyPZZfJ1/Sb8EKPuySAnvpDoTH86D36ZGy+E9GehhRS0ftH9J/tn VoUQ== X-Forwarded-Encrypted: i=1; AJvYcCVqzvRZUeVMVMONQg/ZCkwZeKGpGQY6lfR3A23W/RpESgSCXfTS8BlDaMuMB1+EVs3C78bPOqLBhweswzE=@vger.kernel.org X-Gm-Message-State: AOJu0YxfMQcoPZ87qRScJtZVJaMteHmx8wCXMuMs2QumxQxn/R9jab7J JRDl0tBKIC+L3rpjK+hJDQ9W/2iVXJl9UABj5j5V9BImapv6kLUpiyUF X-Gm-Gg: ASbGncueYry5OwIupp8KWsOFsSWHWcugseeqw7eIb3gxs6zCGd75xTsXGafaINDPdmC eV3piU/SFbC5jGzhitT3ToFGGyAbVnZMeEPKDI24Y8nyHZelGtYPJaqSlNv9HhUG4bWLYM58Tbx +pHrLilqwETqv2rOEH12zNZVpzE0ASzMb8MQ8JDLcWfrCHbP0BZEItgVOxU8l95Uudn/zQ9mhG9 aBuuHI87uZgT+4cGnxQ16LRI5IWcwPQSVaho317xWi+6X/yHc6PzitgFAhX23lcK8bDuhftEftk c21Pbon8zSyjYUV2/9qW3mGsWo4iwG6Gn4rbFGc878sebof+pzCJ43M6XtRIPZ/xwl18UCy0C8N YY6h0xN1JFKcCdXY1g3O+iJr/c2ItQhDeo9ZIAo6lsyPpmXLgL1YGYpSM9/D5RGfqj+nvQgY0I0 DMFSZtji3QhgyHlgKw6b9hHevSA8S9Sc6SDMz7xQtzqAKCiQ== X-Google-Smtp-Source: AGHT+IGOZoPr6lgFqZ3pubmZ547ZRImFpqA3tk7lcyuqLmzsU5M4QPECrXxxfbjSMiWNkxT9Tdebcw== X-Received: by 2002:a05:6a20:244c:b0:35e:f436:ffb9 with SMTP id adf61e73a8af0-35ef446b99emr13775623637.4.1763557751189; Wed, 19 Nov 2025 05:09:11 -0800 (PST) Received: from clint-ThinkPad-L14-Gen-2.. ([110.226.183.150]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7b9250cd969sm19692422b3a.23.2025.11.19.05.09.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Nov 2025 05:09:10 -0800 (PST) From: Clint George To: stern@rowland.harvard.edu, gregkh@linuxfoundation.org Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, david.hunter.linux@gmail.com, linux-kernel-mentees@lists.linux.dev, skhan@linuxfoundation.org, khalid@kernel.org, Clint George Subject: [PATCH 5/8] usb: gadget: dummy_hcd: merge multi-line quoted strings into one line Date: Wed, 19 Nov 2025 18:38:37 +0530 Message-ID: <20251119130840.14309-6-clintbgeorge@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251119130840.14309-1-clintbgeorge@gmail.com> References: <20251119130840.14309-1-clintbgeorge@gmail.com> 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" Merge multi-line quoted strings into a single line to improve readability and comply with kernel coding style. This reduces unnecessary line breaks in string literals and makes the code easier to follow. Signed-off-by: Clint George --- drivers/usb/gadget/udc/dummy_hcd.c | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/drivers/usb/gadget/udc/dummy_hcd.c b/drivers/usb/gadget/udc/du= mmy_hcd.c index d4b2dcbc4..1363de6fe 100644 --- a/drivers/usb/gadget/udc/dummy_hcd.c +++ b/drivers/usb/gadget/udc/dummy_hcd.c @@ -2133,8 +2133,7 @@ static int dummy_hub_control( case USB_PORT_FEAT_SUSPEND: if (hcd->speed =3D=3D HCD_USB3) { dev_dbg(dummy_dev(dum_hcd), - "USB_PORT_FEAT_SUSPEND req not " - "supported for USB 3.0 roothub\n"); + "USB_PORT_FEAT_SUSPEND req not supported for USB 3.0 roothub\n"); goto error; } if (dum_hcd->port_status & USB_PORT_STAT_SUSPEND) { @@ -2174,8 +2173,7 @@ static int dummy_hub_control( (wLength < USB_DT_SS_HUB_SIZE || wValue !=3D (USB_DT_SS_HUB << 8))) { dev_dbg(dummy_dev(dum_hcd), - "Wrong hub descriptor type for " - "USB 3.0 roothub.\n"); + "Wrong hub descriptor type for USB 3.0 roothub.\n"); goto error; } if (hcd->speed =3D=3D HCD_USB3) @@ -2247,8 +2245,7 @@ static int dummy_hub_control( case USB_PORT_FEAT_LINK_STATE: if (hcd->speed !=3D HCD_USB3) { dev_dbg(dummy_dev(dum_hcd), - "USB_PORT_FEAT_LINK_STATE req not " - "supported for USB 2.0 roothub\n"); + "USB_PORT_FEAT_LINK_STATE req not supported for USB 2.0 roothub\n"); goto error; } /* @@ -2261,8 +2258,7 @@ static int dummy_hub_control( /* TODO: add suspend/resume support! */ if (hcd->speed !=3D HCD_USB3) { dev_dbg(dummy_dev(dum_hcd), - "USB_PORT_FEAT_U1/2_TIMEOUT req not " - "supported for USB 2.0 roothub\n"); + "USB_PORT_FEAT_U1/2_TIMEOUT req not supported for USB 2.0 roothub\n"= ); goto error; } break; @@ -2270,8 +2266,7 @@ static int dummy_hub_control( /* Applicable only for USB2.0 hub */ if (hcd->speed =3D=3D HCD_USB3) { dev_dbg(dummy_dev(dum_hcd), - "USB_PORT_FEAT_SUSPEND req not " - "supported for USB 3.0 roothub\n"); + "USB_PORT_FEAT_SUSPEND req not supported for USB 3.0 roothub\n"); goto error; } if (dum_hcd->active) { @@ -2298,8 +2293,7 @@ static int dummy_hub_control( /* Applicable only for USB3.0 hub */ if (hcd->speed !=3D HCD_USB3) { dev_dbg(dummy_dev(dum_hcd), - "USB_PORT_FEAT_BH_PORT_RESET req not " - "supported for USB 2.0 roothub\n"); + "USB_PORT_FEAT_BH_PORT_RESET req not supported for USB 2.0 roothub\n= "); goto error; } fallthrough; @@ -2347,8 +2341,7 @@ static int dummy_hub_control( case GetPortErrorCount: if (hcd->speed !=3D HCD_USB3) { dev_dbg(dummy_dev(dum_hcd), - "GetPortErrorCount req not " - "supported for USB 2.0 roothub\n"); + "GetPortErrorCount req not supported for USB 2.0 roothub\n"); goto error; } /* We'll always return 0 since this is a dummy hub */ @@ -2357,8 +2350,7 @@ static int dummy_hub_control( case SetHubDepth: if (hcd->speed !=3D HCD_USB3) { dev_dbg(dummy_dev(dum_hcd), - "SetHubDepth req not supported for " - "USB 2.0 roothub\n"); + "SetHubDepth req not supported for USB 2.0 roothub\n"); goto error; } break; @@ -2601,8 +2593,7 @@ static int dummy_alloc_streams(struct usb_hcd *hcd, s= truct usb_device *udev, goto out; } if (max_stream < ret_streams) { - dev_dbg(dummy_dev(dum_hcd), "Ep 0x%x only supports %u " - "stream IDs.\n", + dev_dbg(dummy_dev(dum_hcd), "Ep 0x%x only supports %u stream IDs.\n", eps[i]->desc.bEndpointAddress, max_stream); ret_streams =3D max_stream; --=20 2.43.0