From nobody Wed Dec 17 00:06:23 2025 Received: from mail-10629.protonmail.ch (mail-10629.protonmail.ch [79.135.106.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 434E61DF971 for ; Mon, 24 Mar 2025 21:18:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=79.135.106.29 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742851087; cv=none; b=g7jqHAPK3342BFJED4tftc0IPSRT6Tn0TT4IDeqOa0aCJ+9Pgd4kCMDL+U7Bb52DYo/N0ny1AIfzKKa8JcbUK99AMlTOapLED41iEtg1KIRVnvX1XUNCVrxu8dleBNKu+NMKcfmkv12y6CHJXy+Rp9EPOUK1OnYMSFQUQzDrw9w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742851087; c=relaxed/simple; bh=hyU4NSwdZyi1ic0q6erpOYIB7qc2G4+0kHu3Htlz0kk=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HaZdnhg1YDN+UBCtZtEuIlIg74De25SUhwBopOmRoT6hEbLqd8Pl5/exfGmOAIM0VCs/bevhi5PLdWq4c/3oGvB1il2nBZi+/DpOKHPA2ARCWDC+cJdh39OxzEALL2+7icotKbLpbwZdDKV1nksH/mJSkl/ljiDLkye7q+GPXE4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com; spf=pass smtp.mailfrom=protonmail.com; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b=W7Ez4bHU; arc=none smtp.client-ip=79.135.106.29 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=protonmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="W7Ez4bHU" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1742851083; x=1743110283; bh=hyU4NSwdZyi1ic0q6erpOYIB7qc2G4+0kHu3Htlz0kk=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=W7Ez4bHUgW4cCXmHOSrCGHeT7RA5ZNpShpijrwdjhIbjVEtfocE5SoHri02VD27Rq NAmqP0kM7lifKuabGrUKM5llvxAp4gz1unx3t9FYkduLDN8a9bBqi5rXAk6nliLYJD l7fsmXzIys7f9raiC9ZAt4wrJ/oB6N0BLNtJcWq9unvliuV2R4HQVPz30cYhnEKY3q NVV4l/+tHnH2ICmBnVZWGPkS1ipKzAh+KUQl7oHgSNQx3I+qRM2pyOJirtwv1ggCbY cj++iKoHJJNg/Lx0S2YaVAF3sI6toHkwtqYzIiKnjTy7XhCcTzdU4Qp48rXT7pz0Qu 0aNHWgDzAvSgw== Date: Mon, 24 Mar 2025 21:17:58 +0000 To: Johan Hovold , Greg Kroah-Hartman From: =?utf-8?Q?Dominik_Karol_Pi=C4=85tkowski?= Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?Q?Dominik_Karol_Pi=C4=85tkowski?= Subject: [PATCH v2 1/6] USB: serial: ftdi_sio: Remove space before comma Message-ID: <20250324211619.166988-2-dominik.karol.piatkowski@protonmail.com> In-Reply-To: <20250324211619.166988-1-dominik.karol.piatkowski@protonmail.com> References: <20250324211619.166988-1-dominik.karol.piatkowski@protonmail.com> Feedback-ID: 117888567:user:proton X-Pm-Message-ID: e873e2e09d8075b23ce32c0b9a07c8deab478cba 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" Remove the space before comma in id_table_combined to align with code style. Signed-off-by: Dominik Karol Pi=C4=85tkowski --- v2: Split the patch into smaller patches drivers/usb/serial/ftdi_sio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 9b34e23b7091..b02dbe4ec1e4 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c @@ -190,7 +190,7 @@ static const struct usb_device_id id_table_combined[] = =3D { { USB_DEVICE(FTDI_VID, FTDI_8U232AM_PID) }, { USB_DEVICE(FTDI_VID, FTDI_8U232AM_ALT_PID) }, { USB_DEVICE(FTDI_VID, FTDI_232RL_PID) }, - { USB_DEVICE(FTDI_VID, FTDI_8U2232C_PID) , + { USB_DEVICE(FTDI_VID, FTDI_8U2232C_PID), .driver_info =3D (kernel_ulong_t)&ftdi_8u2232c_quirk }, { USB_DEVICE(FTDI_VID, FTDI_4232H_PID) }, { USB_DEVICE(FTDI_VID, FTDI_232H_PID) }, --=20 2.34.1 From nobody Wed Dec 17 00:06:23 2025 Received: from mail-4322.protonmail.ch (mail-4322.protonmail.ch [185.70.43.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4E8091E5B74 for ; Mon, 24 Mar 2025 21:18:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.22 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742851094; cv=none; b=KPTFB1NftwnYO4NXcfUQ4qvEW5c+vQPGnOIIb5wzt5albQCW172KfJTkKcp+1aFcsKm0t2WDTXm4UjZbi63N/1ZuyXn+OcaD0XnDOwRwMK6m8UVHwNvN22BQso4R27fsnl6PsydxBJFRV9BTQ1AV8b8laj41M42zd2f5undZGLE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742851094; c=relaxed/simple; bh=8TaE4U50cKnetEE5qxz8et9q1kplSCeKNx9UK6JRhnk=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=S3XGs/pqy7xK5f7BipfSxzdG8UTZoiaAc/hnCbFfU7dspR8/N2nLFHuclIcZF84kWD6GERx7L8zo/E6B5Ec+cpl+YyU5zm0Afl4EeLycPc4iV2zwR4I2t5IYENbBYv2lSRZLnuVjfcSATf2xwuSRc8rtJPy+wuvV+HQzU4ERYNU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com; spf=pass smtp.mailfrom=protonmail.com; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b=gqWnkaWI; arc=none smtp.client-ip=185.70.43.22 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=protonmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="gqWnkaWI" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1742851091; x=1743110291; bh=8TaE4U50cKnetEE5qxz8et9q1kplSCeKNx9UK6JRhnk=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=gqWnkaWINhc6yRB5BWG9DYOF6JBZrcoDghNGk56Gju/QKP5yXrkavchSNHM42cOFX I8sV4cnfXqRQESM+5m0lGEzUEtUlcsr9mnjXn1ull+nrKqcotXjS+zhh88V+l+xSJB ix5qONyIrmsYtEBBYqlypw+3L1OKBiCE2CUM79Qr9me5j5AcTJ/M7fASqBosnobLjH uYfrVbo0IvVaRFQeyG9bSe7yrmi4V9dJQsfSjQkFhpKksKwds/sS6yWwwcCHuvSvOj kMvhx73BU8AlyDbf6aB7fihDLLNxvCulcYtpQrFt2bkHOu3s/F2DOlBHcK2Zvjrw81 FZ3PEKn0sCkZw== Date: Mon, 24 Mar 2025 21:18:05 +0000 To: Johan Hovold , Greg Kroah-Hartman From: =?utf-8?Q?Dominik_Karol_Pi=C4=85tkowski?= Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?Q?Dominik_Karol_Pi=C4=85tkowski?= Subject: [PATCH v2 2/6] USB: serial: ftdi_sio: Add missing blank line after declarations Message-ID: <20250324211619.166988-3-dominik.karol.piatkowski@protonmail.com> In-Reply-To: <20250324211619.166988-1-dominik.karol.piatkowski@protonmail.com> References: <20250324211619.166988-1-dominik.karol.piatkowski@protonmail.com> Feedback-ID: 117888567:user:proton X-Pm-Message-ID: 2cc22b6904aadb9a9bfc88129c82814e67c89874 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" Add missing blank lines after declarations to align with code style. Signed-off-by: Dominik Karol Pi=C4=85tkowski --- v2: Split the patch into smaller patches drivers/usb/serial/ftdi_sio.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index b02dbe4ec1e4..f52bab3a3bfd 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c @@ -1143,6 +1143,7 @@ static unsigned short int ftdi_232am_baud_base_to_div= isor(int baud, int base) unsigned short int divisor; /* divisor shifted 3 bits to the left */ int divisor3 =3D DIV_ROUND_CLOSEST(base, 2 * baud); + if ((divisor3 & 0x7) =3D=3D 7) divisor3++; /* round x.7/8 up to x+1 */ divisor =3D divisor3 >> 3; @@ -1169,6 +1170,7 @@ static u32 ftdi_232bm_baud_base_to_divisor(int baud, = int base) u32 divisor; /* divisor shifted 3 bits to the left */ int divisor3 =3D DIV_ROUND_CLOSEST(base, 2 * baud); + divisor =3D divisor3 >> 3; divisor |=3D (u32)divfrac[divisor3 & 0x7] << 14; /* Deal with special cases for highest baud rates. */ @@ -1657,6 +1659,7 @@ static ssize_t latency_timer_show(struct device *dev, { struct usb_serial_port *port =3D to_usb_serial_port(dev); struct ftdi_private *priv =3D usb_get_serial_port_data(port); + if (priv->flags & ASYNC_LOW_LATENCY) return sprintf(buf, "1\n"); else @@ -2194,6 +2197,7 @@ static int ftdi_probe(struct usb_serial *serial, cons= t struct usb_device_id *id) =20 if (quirk && quirk->probe) { int ret =3D quirk->probe(serial); + if (ret !=3D 0) return ret; } --=20 2.34.1 From nobody Wed Dec 17 00:06:23 2025 Received: from mail-4316.protonmail.ch (mail-4316.protonmail.ch [185.70.43.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9EDE9146A6F; Mon, 24 Mar 2025 21:18:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.16 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742851100; cv=none; b=QM5g2IcsmK3fLKpEa7v8bY1mZXEaApRbkxL5Yr29r7oEhHMe1H7mpu9CW8iKeGoBZlcjSHWlkexymoS5EqLVgeUNJ9lICYLcfzTlg+VNMdqRuR3IG+Vc2vp3b2PfryBttDg9KYaavuKLh07O66AZaFyuYfSGetJ6wa8iyYr4Dio= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742851100; c=relaxed/simple; bh=tmMoYs9RIJY8JE+MjASDE7DvS+BS0lXX6Gh/vx2/yys=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=TwkJ4AvywVY33HnW6SDk6kegTwZjAdxSfhiaoEVCBkFLbNBu3SMpXGL/yU7Ypg8Jjs8fuReVt0FDM8Kd6cryI9SVcSlUJbOxU2hh0otaiK+CGDrlbrX9csyyKFxhvueFifdOqueMKfA9WlC5FeakVS3+Zpbvxe14AtNklMulNYU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com; spf=pass smtp.mailfrom=protonmail.com; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b=w9fGzG56; arc=none smtp.client-ip=185.70.43.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=protonmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="w9fGzG56" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1742851096; x=1743110296; bh=tmMoYs9RIJY8JE+MjASDE7DvS+BS0lXX6Gh/vx2/yys=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=w9fGzG569gZXLeUNCZ1+ABmCZOafGA7fXaRxUSkHCnDiv+E7KP+GAi9fa5CBikOmR dKjzEft6nCTWkW8iCMXqcsvNZTSVdSqbqNV3vD4BenoMeBFij4ykHiCidqC7mNvyJT dp/qJ9tqTML8bBSVjCuYSqrk/SZ4PTtNrzOH0lFndLVLZDSjwtimIypGU15HIhoLy1 7y8GVM7QrGyCoyVDQAiRPh1qN1Evsz7n3wHqJsVmRoYZXLvb6ZAWF6F241K06e/ero Mjr9w0LVhaflMEBfn3pNTTRlQoJyU9l4LYPW61gg7QR2dqzQiZ4BENXcqz9ek0ecT/ tBp3vdhhuBTDw== Date: Mon, 24 Mar 2025 21:18:10 +0000 To: Johan Hovold , Greg Kroah-Hartman From: =?utf-8?Q?Dominik_Karol_Pi=C4=85tkowski?= Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?Q?Dominik_Karol_Pi=C4=85tkowski?= Subject: [PATCH v2 3/6] USB: serial: ftdi_sio: Remove superfluous space before statements Message-ID: <20250324211619.166988-4-dominik.karol.piatkowski@protonmail.com> In-Reply-To: <20250324211619.166988-1-dominik.karol.piatkowski@protonmail.com> References: <20250324211619.166988-1-dominik.karol.piatkowski@protonmail.com> Feedback-ID: 117888567:user:proton X-Pm-Message-ID: d07a497be88fc4b6374d85bf1ea6557b561e01ef 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" Remove superfluous space between indenting tabs and statements to align with code style. Signed-off-by: Dominik Karol Pi=C4=85tkowski --- v2: Split the patch into smaller patches drivers/usb/serial/ftdi_sio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index f52bab3a3bfd..c2b9b8edcc8e 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c @@ -1161,7 +1161,7 @@ static unsigned short int ftdi_232am_baud_base_to_div= isor(int baud, int base) =20 static unsigned short int ftdi_232am_baud_to_divisor(int baud) { - return ftdi_232am_baud_base_to_divisor(baud, 48000000); + return ftdi_232am_baud_base_to_divisor(baud, 48000000); } =20 static u32 ftdi_232bm_baud_base_to_divisor(int baud, int base) @@ -1183,7 +1183,7 @@ static u32 ftdi_232bm_baud_base_to_divisor(int baud, = int base) =20 static u32 ftdi_232bm_baud_to_divisor(int baud) { - return ftdi_232bm_baud_base_to_divisor(baud, 48000000); + return ftdi_232bm_baud_base_to_divisor(baud, 48000000); } =20 static u32 ftdi_2232h_baud_base_to_divisor(int baud, int base) @@ -1213,7 +1213,7 @@ static u32 ftdi_2232h_baud_base_to_divisor(int baud, = int base) =20 static u32 ftdi_2232h_baud_to_divisor(int baud) { - return ftdi_2232h_baud_base_to_divisor(baud, 120000000); + return ftdi_2232h_baud_base_to_divisor(baud, 120000000); } =20 #define set_mctrl(port, set) update_mctrl((port), (set), 0) --=20 2.34.1 From nobody Wed Dec 17 00:06:23 2025 Received: from mail-4316.protonmail.ch (mail-4316.protonmail.ch [185.70.43.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 88A1D1EB5FE for ; Mon, 24 Mar 2025 21:18:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.16 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742851106; cv=none; b=ZpmIBbnEqFgoAAJv5uB+UQN6f0jer0oVWxFt1VlCUn1+TNvBGFFLv61PE3Bnzib11u9Io2QRQtJYLWIvHUkls3Kx3vo14uZPv5hoJO3HPHJQDZtuHWgaAHH61Ls/znFoX8E4UYHOCtdMA2ahJ7DKsHGGeB5rovQ2Lxfznl1nY6M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742851106; c=relaxed/simple; bh=8SjZa3CmHvhU+LhLOx4jffMk+jRhfpsXqV7OR3OOGAI=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=YDgXpOBirqy6LMfJwW3E82O4sMyo6DaILejQOP+V3hdhDVh9dCmCiWxUcncDMufxzVLf6dd6mvWGAQuZhPFtCIoOAR/fzWe+HDmInmbRmhQjXlDfV4IUp5zgRWYrs50YbPITRsLTb53ptb9N6gsa4+4HHRtb7V4Mrllg1VmiH6E= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com; spf=pass smtp.mailfrom=protonmail.com; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b=gCtBmTHn; arc=none smtp.client-ip=185.70.43.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=protonmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="gCtBmTHn" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1742851102; x=1743110302; bh=1glU/OShXpOA2ephq0ZPJD8B6OeSEFrC5TU1C54+82E=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=gCtBmTHnVJ0SVRnuc1NIc8rTmHyTFzbeb8ItEMh2A2rknYxzz8NM9KusDqwseD7jI Lt7fMHJDkSQfYHo1f0JyNMXDVzhqVxpIh8Vb4hZcVxK6RQxHnINLR70dkjygv3usiV 0LSb4wSFvSvYqY7i8ZZJtcRhfVT7+TyircECYZKuT5SpipHuXRNOZf00TdjNUMcGvO u7YAALZx6O06pNdoPH2/9zFxgm7cZyzBpPL32hUOAFzqKaZPakONgUaCTWCEXPR0z9 6Jh5lguruOR2M0Wq/54mF3scdr7CrSuk0WzGCookcdf8W7BNAhV5jI00QpVDv+u62o dw0lT9azuMPyg== Date: Mon, 24 Mar 2025 21:18:17 +0000 To: Johan Hovold , Greg Kroah-Hartman From: =?utf-8?Q?Dominik_Karol_Pi=C4=85tkowski?= Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?Q?Dominik_Karol_Pi=C4=85tkowski?= Subject: [PATCH v2 4/6] USB: serial: ftdi_sio: Fix indentation made with spaces Message-ID: <20250324211619.166988-5-dominik.karol.piatkowski@protonmail.com> In-Reply-To: <20250324211619.166988-1-dominik.karol.piatkowski@protonmail.com> References: <20250324211619.166988-1-dominik.karol.piatkowski@protonmail.com> Feedback-ID: 117888567:user:proton X-Pm-Message-ID: 2986eb19734a35b66280da6c320cde2257c3a419 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" Fix indentation that was made with spaces instead of tabs to align with code style. Signed-off-by: Dominik Karol Pi=C4=85tkowski --- v2: Split the patch into smaller patches drivers/usb/serial/ftdi_sio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index c2b9b8edcc8e..60d24152e385 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c @@ -2625,8 +2625,8 @@ static bool ftdi_tx_empty(struct usb_serial_port *por= t) * WARNING: set_termios calls this with old_termios in kernel space */ static void ftdi_set_termios(struct tty_struct *tty, - struct usb_serial_port *port, - const struct ktermios *old_termios) + struct usb_serial_port *port, + const struct ktermios *old_termios) { struct usb_device *dev =3D port->serial->dev; struct device *ddev =3D &port->dev; --=20 2.34.1 From nobody Wed Dec 17 00:06:23 2025 Received: from mail-4316.protonmail.ch (mail-4316.protonmail.ch [185.70.43.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 846FD1EDA1E; Mon, 24 Mar 2025 21:18:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.70.43.16 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742851112; cv=none; b=FjxprbkvST9tGFQm0go0VQvG1/b1fYxv0DFjpL8foR010lTstRxXHPoaCQbLs77efhaqqWlxZGEZ1KQlK/gpazuMq0VaxMQLF5a/18oxoT6/P1qM8NuKXfTxj/05N3qpT1dx5wVckbJoVYBEDKcfq3o9ullNSR9JOj2jC4UPcT8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742851112; c=relaxed/simple; bh=c4E++3f2MDMsNPMEJdXDfgwYQoGSbwjYzUZTLh3w6c8=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=usiATzEEvqcGz+WsnHrAE8J6vJniXmnOv8CQ7I/SQEwd3oVJ1yl1a2iIYmuWwNeErD0Wp30/JPPg6kizcSDy6uQ5/NNylkDYymLfezwAH47YAX6ufibTZLqxIKGMjIuTewSwqTtt+avxDaPkEpRS9BUiShoUm6mzbJ1hXolWM04= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com; spf=pass smtp.mailfrom=protonmail.com; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b=VHbt574b; arc=none smtp.client-ip=185.70.43.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=protonmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="VHbt574b" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1742851108; x=1743110308; bh=6DixGtBaeZaFqPX3S+avGICBN1tFkPrHCpETt4l8pPk=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=VHbt574by1tm+h6WWTttP9EZ0CDO0qnamTy58fhMkSXXhL58G4XT/HWkeVfmHTyAp JDLhRYtRJeBPoSGj4+3ZMZttB842ZXOIATbw58O5j4kRra/u/YpnTIsw9gky12bj7t LmDAr2CbIzHQJBybqGFJNAC4RZn2+5W+reYTT9v2Uv6yflv7Z4Vi8Y7OK68ymaTtDN TPpIO5mSOcOVgnQr0GjxYYKrnytoqbCNsmtcoi0e2oRnlzRf0X9d26xtzt/l1OYzmF TCQlyO/I1AG+2WrwQyy5MRdwfFziCDfpZ2P2ZMjF6oczeNVXX0jRezRep85IBlNvqx F8w1dAoWSIACA== Date: Mon, 24 Mar 2025 21:18:23 +0000 To: Johan Hovold , Greg Kroah-Hartman From: =?utf-8?Q?Dominik_Karol_Pi=C4=85tkowski?= Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?Q?Dominik_Karol_Pi=C4=85tkowski?= Subject: [PATCH v2 5/6] USB: serial: ftdi_sio: Fix misaligned block comment Message-ID: <20250324211619.166988-6-dominik.karol.piatkowski@protonmail.com> In-Reply-To: <20250324211619.166988-1-dominik.karol.piatkowski@protonmail.com> References: <20250324211619.166988-1-dominik.karol.piatkowski@protonmail.com> Feedback-ID: 117888567:user:proton X-Pm-Message-ID: f611cdb4109628a58b1b61b518af79d1bb384640 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" One of the block comments was misaligned. Fix it to align with code style. Signed-off-by: Dominik Karol Pi=C4=85tkowski --- v2: Split the patch into smaller patches drivers/usb/serial/ftdi_sio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/serial/ftdi_sio.h b/drivers/usb/serial/ftdi_sio.h index 55ea61264f91..d671d2194c64 100644 --- a/drivers/usb/serial/ftdi_sio.h +++ b/drivers/usb/serial/ftdi_sio.h @@ -95,7 +95,7 @@ * * The Purge RX and TX buffer commands affect nothing except the buffers * - */ + */ =20 /* FTDI_SIO_SET_BAUDRATE */ #define FTDI_SIO_SET_BAUDRATE_REQUEST_TYPE 0x40 --=20 2.34.1 From nobody Wed Dec 17 00:06:24 2025 Received: from mail-24418.protonmail.ch (mail-24418.protonmail.ch [109.224.244.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 514D21EDA1E; Mon, 24 Mar 2025 21:18:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=109.224.244.18 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742851119; cv=none; b=WaIDaW4qZX1TqSsSYFttoYYDw199/Ep+KHWf4RKj9iWkZ/eJGix7vSYF42xhyv+7PgIKYxEE0VoYuDATf0koxDTljEuOJRrNhUdDRpFd19HqTNW4JnijgEKzV5lYU6sDB5zeY4DDEf+IQhpG5DntXPFTHAEfIgJQfbEllE/dQg0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742851119; c=relaxed/simple; bh=GNu+kahqRURr3jBKGFOwVS7xGN4jr0+9cKSPvRimRUQ=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=QzLRWobammrOpzXv2X3Z+ElPtSq0fv/Rrv3Tpc6Ilvr37L5HHQfEncWEPRhkCGKG7m26ZheiaynOGh6tIA8zaHTQ9ecRZV11m7V5UIwz05g+S4jM4Ha6VzAZy2xMftxavwrO37gsZ+lg/5FTC39Kx8ADWdGRulcTsnPuJaDTmQQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com; spf=pass smtp.mailfrom=protonmail.com; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b=dUzln99c; arc=none smtp.client-ip=109.224.244.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=protonmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="dUzln99c" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1742851115; x=1743110315; bh=u5mBsTab4mA8udrpnBydbaZhEo5uyqSSg9IwaotnLuw=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector:List-Unsubscribe:List-Unsubscribe-Post; b=dUzln99cYsduJc1JPJFs2t9R6DdFA0hQLoznShP70y3KJlwftbbP7EIzpByVkJwn6 Q5XY3uTwo3UI/FORzd95Ox/MOM7R2TPGlYl0Szr+9ntJzQEgIplO3t1/9mRsGSKnrn o1a+eiVtR2UCk7RNsUguNK9W16/NOlDFR1hcce4wVRqAWNN4Qre/GCqYDwqQswqsa7 1U9TN5z/XY38U7yDUoVj+z6orukqQ/kDgxzCcIrDZBOtDXyw0Y6jIUgKQtMwBfXvfg +wBQgnWcpQ5b/JzDnb2GN4iuqkUhQ9tuGAKa1LKWu+3vgnZ1tNdGrArlC4NxL4PC2H IwoNaedSUlnbg== Date: Mon, 24 Mar 2025 21:18:28 +0000 To: Johan Hovold , Greg Kroah-Hartman From: =?utf-8?Q?Dominik_Karol_Pi=C4=85tkowski?= Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?Q?Dominik_Karol_Pi=C4=85tkowski?= Subject: [PATCH v2 6/6] USB: serial: ftdi_sio: Remove space before tabs Message-ID: <20250324211619.166988-7-dominik.karol.piatkowski@protonmail.com> In-Reply-To: <20250324211619.166988-1-dominik.karol.piatkowski@protonmail.com> References: <20250324211619.166988-1-dominik.karol.piatkowski@protonmail.com> Feedback-ID: 117888567:user:proton X-Pm-Message-ID: 267b8bb410963ff7234fc5380080453abd6773c9 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" Remove superfluous space before tabs in defines to align with code style. Signed-off-by: Dominik Karol Pi=C4=85tkowski --- v2: Split the patch into smaller patches drivers/usb/serial/ftdi_sio_ids.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/serial/ftdi_sio_ids.h b/drivers/usb/serial/ftdi_si= o_ids.h index 52be47d684ea..3d9f6ed97783 100644 --- a/drivers/usb/serial/ftdi_sio_ids.h +++ b/drivers/usb/serial/ftdi_sio_ids.h @@ -1022,7 +1022,7 @@ * Kondo Kagaku Co.Ltd. * http://www.kondo-robot.com/EN */ -#define KONDO_VID 0x165c +#define KONDO_VID 0x165c #define KONDO_USB_SERIAL_PID 0x0002 =20 /* @@ -1446,7 +1446,7 @@ /* * Accesio USB Data Acquisition products (http://www.accesio.com/) */ -#define ACCESIO_COM4SM_PID 0xD578 +#define ACCESIO_COM4SM_PID 0xD578 =20 /* www.sciencescope.co.uk educational dataloggers */ #define FTDI_SCIENCESCOPE_LOGBOOKML_PID 0xFF18 --=20 2.34.1