From patchwork Fri Oct 25 06:17:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Chung X-Patchwork-Id: 13850082 Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) (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 6D18419AA5D; Fri, 25 Oct 2024 06:18:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729837114; cv=none; b=sJxtqN1bSWKzpW1e+6CDoLdgjgeiPE592hm5W5vRPI+B4WzOnbGNjVb1ah1an7q8CwVMTJIxUDrGkNV2Br4a5lv763Ky4BfnJJe2qHEBlJOsJwQBWpPvf7afooh1g8le4FiLK5vHPfn265ElTOaLZoa3d3po1rJyzM0ru5O9pqE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729837114; c=relaxed/simple; bh=08PefwZ7yukQx2quUWfezNFTWKGA+BeBpjoWvJ9Bl2c=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=adJAXx4C4Jenz5HMMmmYFdNtvo5+EqxHG8Jw/7vyqpQmay8/Fs7g8KFjbKPTzj+vOIXMaLVkF6X1GurbV8Kw4Ya6yX8LuS/OVgg57Nlv1+XDGAqLtRJi1v0SVX7Z2UvdUWLACbnRc0v3QdFbNONa2Kks02deuk3pGhTLNrn+LL8= 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=ZFpLhgAS; arc=none smtp.client-ip=209.85.216.46 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="ZFpLhgAS" Received: by mail-pj1-f46.google.com with SMTP id 98e67ed59e1d1-2e30db524c2so1283890a91.1; Thu, 24 Oct 2024 23:18:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729837111; x=1730441911; 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=3cg7YRCcamsG4YB2cjdHfXR1yc10Bn8cddsigznXlYw=; b=ZFpLhgASAmVWG9U5OCZmvy03WUVbR1kR4P48Cw688xVLYvB2+Rbt6Bzz8xrczRT6yo 7qBmheORZhFym4h91iUlJTmwhJiXqyqw/fulQBDGQrfynmpAV4Xg85uovu2hyBZcfjSi iRS27bYH53ZWrUjFnVbxSTVFf95wB+bRUvLnZ5DvH4P82qJWi21f6R8L78IOY+gABaka lMhuPWKlGoIxj3NqCty9Yc/lb0su8ABt4dyABvCKzQE5Ani7Fkd4cnUnfjiFiY4LCVi5 H8jqqjltMYx7pJ6plcA1bk6UZ3fpNTnfLklmDpsZ4rpDuIFEMMvJsqSU1RM02w762WFS s9UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729837111; x=1730441911; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3cg7YRCcamsG4YB2cjdHfXR1yc10Bn8cddsigznXlYw=; b=LkNZD0/OYEceIibnzL/4b+5kpPRcFNpGueAxHei09mlyX1X4ZHiPfMWqYWEuIBhI6I nhL5x/8buqs3jPijd8aAi39ypU40HYxejg05Y8TJzgERP5c91pGfBRnUnKpCYYgzTjIY GnqH61txqx2G9wr/2BrxnDkh7w+ShW7nUE5Q3kP5jbD8EA1iMXknv/2MO9sKldCwr9Fo 6jEmU3wW+H1xSt4KdhD91ven2h7DkIHDuj26xP9A4Q98T6Jj0NN0+MqFVW22qYQP/ZSe 7wZCl9ta1qNDif0ugBTOLuTGwa3FfpZEGdmry8/F3K5EMx1208shzJFDYiC02muf9IMh Nm4Q== X-Forwarded-Encrypted: i=1; AJvYcCUP2QdqIK8emWfugMoJwh+lS5NjHiEsd+ZzrF7kaAsau2Q6XefCWuoaFh5Sv7yisx9oIhrp+mebsaQo7Lo=@vger.kernel.org, AJvYcCVURdSYuJFqOqYqspp6m3r1yVmxyOwj0rBBzzqgxxM5V9jFJ5P6Q2n0V0g8GevpRs4OSKJMxp4OscC5@vger.kernel.org X-Gm-Message-State: AOJu0YyDUVO8BEOgJAKn2NtcZxdRtjrSW+TFMh9yeeaD5TAOcQKORHV3 P9EkG0YYNP5a+gZ1WnxP1fC5lbsulaQj/HiiFP/xfYcMaTsVkZNGaOfFT31qjMk= X-Google-Smtp-Source: AGHT+IHnjdrSh+QvgmsqPZTVerXIvOJJSg515vWKJcvfH5MpzIjcOADOg9c4OtNjEoevrTqdVxOYRg== X-Received: by 2002:a17:90a:9305:b0:2e2:e769:dffe with SMTP id 98e67ed59e1d1-2e76b6e15f3mr9388930a91.30.1729837111626; Thu, 24 Oct 2024 23:18:31 -0700 (PDT) Received: from asix-MS-7816.. ([2403:c300:550b:d387:a102:1511:5e8b:8a24]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e77e578001sm2566697a91.43.2024.10.24.23.18.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2024 23:18:31 -0700 (PDT) From: Tony Chung To: johan@kernel.org Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Tony Chung Subject: [PATCH v2 1/6] driver: usb: serial: mos7840: fix style warnings Date: Fri, 25 Oct 2024 14:17:08 +0800 Message-Id: <20241025061711.198933-2-tony467913@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <202410250141.AEkzzW60-lkp@intel.com> References: <202410250141.AEkzzW60-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 fix "no space before tabs" coding style warnings. Signed-off-by: Tony Chung --- drivers/usb/serial/mos7840.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c index ca3da79af..dcaed0f26 100644 --- a/drivers/usb/serial/mos7840.c +++ b/drivers/usb/serial/mos7840.c @@ -220,7 +220,7 @@ struct moschip_port { /* * mos7840_set_reg_sync - * To set the Control register by calling usb_fill_control_urb function + * To set the Control register by calling usb_fill_control_urb function * by passing usb_sndctrlpipe function as parameter. */ @@ -238,7 +238,7 @@ static int mos7840_set_reg_sync(struct usb_serial_port *port, __u16 reg, /* * mos7840_get_reg_sync - * To set the Uart register by calling usb_fill_control_urb function by + * To set the Uart register by calling usb_fill_control_urb function by * passing usb_rcvctrlpipe function as parameter. */ @@ -1356,11 +1356,11 @@ static void mos7840_set_termios(struct tty_struct *tty, * mos7840_get_lsr_info - get line status register info * * Purpose: Let user call ioctl() to get info when the UART physically - * is emptied. On bus types like RS485, the transmitter must - * release the bus after transmitting. This must be done when - * the transmit shift register is empty, not be done when the - * transmit holding register is empty. This functionality - * allows an RS485 driver to be written in user space. + * is emptied. On bus types like RS485, the transmitter must + * release the bus after transmitting. This must be done when + * the transmit shift register is empty, not be done when the + * transmit holding register is empty. This functionality + * allows an RS485 driver to be written in user space. *****************************************************************************/ static int mos7840_get_lsr_info(struct tty_struct *tty, From patchwork Fri Oct 25 06:17:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Chung X-Patchwork-Id: 13850083 Received: from mail-pj1-f46.google.com (mail-pj1-f46.google.com [209.85.216.46]) (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 502281AB6CA; Fri, 25 Oct 2024 06:18:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729837134; cv=none; b=kUldGktGGKLpWnBHxJTJ6TEgSic4YackYNS/ofSb4wPta8eq50vwmQKgQsDGZgE84RGNU0MGur366GFX/NIU7NjJOgyfaurp875hN1QD3DF4VdrA9RRxtPYZY78HMT8rnaoBcWfFe5KB5mDk06xwU/Cj0PqsftD1ki3tRHLRW8I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729837134; c=relaxed/simple; bh=IpHvJpcDV6FbQ8pIFLhNW3syUX5UaaofDfZ8QrCLZM4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=pAyUkff3cmczhXXzx7+buziJC+Z1dKwfRM2iGJ3JrHlqW99SvGLKRGeDRixzoMfL53dX+Ffxr4Hl8HZ/Bpxeg+XztD8M9eMTxO7fgRvHjCHqk8NM1lEf6mlP3BSomIZMLzG3Qo7hO46ATx716Uj35Ic9bBeSdUasBjFXPF4jqQk= 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=SdVL37km; arc=none smtp.client-ip=209.85.216.46 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="SdVL37km" Received: by mail-pj1-f46.google.com with SMTP id 98e67ed59e1d1-2e2bd0e2c4fso1325105a91.3; Thu, 24 Oct 2024 23:18:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729837132; x=1730441932; 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=9jUF1HMy1MUgyp6MY9MD+ftrWrZlW/ievmzGAu0QpwQ=; b=SdVL37kmoxcF1mLK1/tLLfMtjTQF+4cIk6/DXRd0IJulZqOCOMvIIYLWMkcbmUv1XX 4H47uzat+8AhrHyxKkgRj5IDOBvlKk/bLZv7AluqLOMnN6BuWoXfC0X41vQsbvMbulF0 sKhn/tWZ/dhfvtnvfpwww4zLsKJbI4oMFozTKdGOPHG7T+dK5nUjYgchNoys6dZzd4Rh W+JB+L+nXh0eE5iBSRHL3FrlF7Cq19HuEZnFvTZZz2BrJPOhsbaWkca1cZdk3HIHn3UZ qeyg5G+SKjnStChLTpZs9evaEL5ES1fZsBYwbCvVFCaL9p4xGU0P5cANjXiQ/vt6/ceQ ov4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729837132; x=1730441932; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9jUF1HMy1MUgyp6MY9MD+ftrWrZlW/ievmzGAu0QpwQ=; b=cbe55T2RrH1Th/nogocuxyp8N28t2iocPsstLihNlzGI994Qb1/g/dIzmmEbKBlz/M T8d0VT4SdCGNsdTNXZlnBrgyxb7JjLHg28x2IKFglk2a9e0TgLplgp5f6D1L0oJEed6Q iCI0cA5oXKVxJ2mklzGw8jTy7V+W564QTnlnrMmMetxw4p0xFYEjAJ2E8apjZck66ZRE yIkJDtj7SPD3GRHh6r1C7588686LgejCetxO+MrBrRIBejPy2Ps21+NfM61rIleFA5rK jErcg2Hxqg6t+GBQ+x2lGCQkpMxdTPFqwZiSlFitR+VgTXHSrDDdN3JiNLPATWt37Jf1 oXwg== X-Forwarded-Encrypted: i=1; AJvYcCU2KTZDxv95hLqbdHaglFVcUCo3uyIUFePHKQnaceYGeEmgrRd2NP+bKDyWJAbVBVWCxvq3LuPasAGm@vger.kernel.org, AJvYcCWLx8sbXkhxkx4YmI/hPhmOm2a8wUKgczldshgK/kdmLVCRsWv2htIxUY3eESizBGlCCgUSrXZZzB/Obug=@vger.kernel.org X-Gm-Message-State: AOJu0YyJenB1RKUn6zpSKmopOVVaW4OwsZCPcOZZQry3e1WmkwqJ31I5 avbLWhllPrlSnOVgcv8eNmQFNS6FmH7bDxeiGEANWVQG6YnT67vDimnUI8Rkbak= X-Google-Smtp-Source: AGHT+IEqCjfA3azWK3AY5fVSgab7gRKIb6UvRQGdnpcJcEHv+P1hPyE9U0AJEdubVYRoAFc6xa5Vzg== X-Received: by 2002:a17:90a:e389:b0:2e2:ba35:3573 with SMTP id 98e67ed59e1d1-2e76b60d445mr9282023a91.20.1729837131633; Thu, 24 Oct 2024 23:18:51 -0700 (PDT) Received: from asix-MS-7816.. ([2403:c300:550b:d387:a102:1511:5e8b:8a24]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e77e578001sm2566697a91.43.2024.10.24.23.18.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2024 23:18:51 -0700 (PDT) From: Tony Chung To: johan@kernel.org Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Tony Chung Subject: [PATCH v2 2/6] drivers: usb: serial: mos7840: Fix Block comments coding style warnings Date: Fri, 25 Oct 2024 14:17:10 +0800 Message-Id: <20241025061711.198933-3-tony467913@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <202410250141.AEkzzW60-lkp@intel.com> References: <202410250141.AEkzzW60-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 fix block comments coding style warnings. 1. Block comments use * on subsequent lines 2. Block comments use a trailing */ on a separate line Signed-off-by: Tony Chung --- drivers/usb/serial/mos7840.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c index dcaed0f26..b1a794f99 100644 --- a/drivers/usb/serial/mos7840.c +++ b/drivers/usb/serial/mos7840.c @@ -282,7 +282,8 @@ static int mos7840_set_uart_reg(struct usb_serial_port *port, __u16 reg, struct usb_device *dev = port->serial->dev; val = val & 0x00ff; /* For the UART control registers, the application number need - to be Or'ed */ + * to be Or'ed + */ if (port->serial->num_ports == 2 && port->port_number != 0) val |= ((__u16)port->port_number + 2) << 8; else @@ -1539,8 +1540,9 @@ static int mos7840_port_probe(struct usb_serial_port *port) int pnum; __u16 Data; - /* we set up the pointers to the endpoints in the mos7840_open * - * function, as the structures aren't created yet. */ + /* we set up the pointers to the endpoints in the mos7840_open + * function, as the structures aren't created yet. + */ pnum = port->port_number; @@ -1551,14 +1553,16 @@ static int mos7840_port_probe(struct usb_serial_port *port) /* Initialize all port interrupt end point to port 0 int * endpoint. Our device has only one interrupt end point - * common to all port */ + * common to all port + */ mos7840_port->port = port; spin_lock_init(&mos7840_port->pool_lock); /* minor is not initialised until later by * usb-serial.c:get_free_serial() and cannot therefore be used - * to index device instances */ + * to index device instances + */ mos7840_port->port_num = pnum + 1; dev_dbg(&port->dev, "port->minor = %d\n", port->minor); dev_dbg(&port->dev, "mos7840_port->port_num = %d\n", mos7840_port->port_num); @@ -1591,7 +1595,8 @@ static int mos7840_port_probe(struct usb_serial_port *port) dev_dbg(&port->dev, "ControlReg Reading success val is %x, status%d\n", Data, status); Data |= 0x08; /* setting driver done bit */ Data |= 0x04; /* sp1_bit to have cts change reflect in - modem status reg */ + * modem status reg + */ /* Data |= 0x20; //rx_disable bit */ status = mos7840_set_reg_sync(port, @@ -1603,7 +1608,8 @@ static int mos7840_port_probe(struct usb_serial_port *port) dev_dbg(&port->dev, "ControlReg Writing success(rx_disable) status%d\n", status); /* Write default values in DCR (i.e 0x01 in DCR0, 0x05 in DCR2 - and 0x24 in DCR3 */ + * and 0x24 in DCR3 + */ Data = 0x01; status = mos7840_set_reg_sync(port, (__u16) (mos7840_port->DcrRegOffset + 0), Data); From patchwork Fri Oct 25 06:17:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Chung X-Patchwork-Id: 13850084 Received: from mail-pj1-f52.google.com (mail-pj1-f52.google.com [209.85.216.52]) (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 74A7C19AA5D; Fri, 25 Oct 2024 06:19:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729837157; cv=none; b=apRWaJTol1c8pOdfc4X0IiucWXyWVW5JvSN4ckTIOfHkLwTetUgeYhOUmOxp8dBfPQTsAQn56SzXDYbhbZrStKrc/C5TWtMALACHh5vG/d0fr78s7D1f4O+vzI8OoqRh7ltil1cvuSyxTL5qMy/2a3wWVsvyQjRho6+tvJkEnZg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729837157; c=relaxed/simple; bh=SzoQ6pWwLA9emlyeEe1vi4JhbqCCw9VXx0XHEWULUxE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=kJNoYIuUe9Y7uf7DbPDPEzAHxjNElD3or5ffFi/c55zsVY9rJpwmCRMqxHlMssht17rZ0UWgXjz9nHUKJLrJwPcPN73y8J1o/LwaCHrYFeuuvsIrQS8u5d8NwEbBUN/aTEykKXU4/2RXwCwMfw6GI8bdrwVNymVGMRggxINqoBk= 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=W8JMT8tI; arc=none smtp.client-ip=209.85.216.52 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="W8JMT8tI" Received: by mail-pj1-f52.google.com with SMTP id 98e67ed59e1d1-2e2e87153a3so1204327a91.3; Thu, 24 Oct 2024 23:19:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729837155; x=1730441955; 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=T+/0SPQ8r7PbmavPDJd/94TVVDD0dd4aFDXw+3ZovcY=; b=W8JMT8tI+HDAiv5KuQ9vnj+/SeDa64MXSIYD9Cy32LRSFppzZdWCHFsPRywMDE4G01 thShM5rBNWovcPOkPJ36sKmAHJbYvPC+R1QmUqnRgw/3EMY5wCdo04CMaJFaK06fF45r RS4DHrU7I3ZQRlwCN+EmmdzEHFpLYvh5GmsU8em3nHYnbfFXmdObVFKjBpJQczh0yDOr ZbxCd2feASnyHzGkmfvNfospWSkK9X1NGybS1x8s5oIg829Ty4q34k7TzwY8NA5ECvyO fh2/e/9JuFHc5OlSrR5WDQdUoI6YqybG45pG+b8Iinf1eIHCG4jf5SPYRz/xazM3g7QM OYiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729837155; x=1730441955; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=T+/0SPQ8r7PbmavPDJd/94TVVDD0dd4aFDXw+3ZovcY=; b=Ds2wdjtxwuxFz/Pk0ujddnh1PGH6SxnMwvj7xLiM5RROyAH/48BOsDwZMAFAhBJPg/ Kdz7BGyCH6Z9jIQIUZ/B7U1xTAkydY2w3kyO4ycMbXlYiQTkqgcKLpRBp7ntpiA79d/m zryCwmrmJ6awIIjjJXSB+ArjsO8nHmkyDoMtcnepoRdkARX7GoXUeoII2uxvwAEJO5qY oE0asNE+m98QWooQpeATzUAePTbqfJsdK4zZT16AIba/L9q6mR8wRUdV8mcr+x8ZchP7 5kLRG4C2Oo0DcbmVRzqJ/RPaqh2MqQnpLBFSfuukEGqUamFx2CIWTGRmZSHnAbSRusg+ hdMg== X-Forwarded-Encrypted: i=1; AJvYcCUYr1PKODi/r3/TvoxOJplQTJCDBJxnpBJSxYs9fhBnZJZzh8OOS4XABSduyBevoybgCzlrMq84/yiI@vger.kernel.org, AJvYcCWQleqmgla0NKrDooyuJOOHTXKixRQYP37U8IppoaCHN4oNP2kt46k9jjiMhAZyO1zl5jr8SMPZEtKErJ0=@vger.kernel.org X-Gm-Message-State: AOJu0YxwVjPKfYhUviS7gK1R3xA6sHD1yoYgpby7qN+uisxM3WXySGge HwfyalQNGhmu4PmRevqEOaVU/i4L7EmDVnjRVCTtBss0up4fXh18bxRUYEsRMKw= X-Google-Smtp-Source: AGHT+IGqxrEDW548GMoVXgdOh4pMugbaH1za8fjfzXQcvUGvosng9VHQOqVJzBf+zB/gtGI//J4I/w== X-Received: by 2002:a17:90a:db86:b0:2e1:ce7b:6069 with SMTP id 98e67ed59e1d1-2e76b70c2a0mr9094050a91.33.1729837154622; Thu, 24 Oct 2024 23:19:14 -0700 (PDT) Received: from asix-MS-7816.. ([2403:c300:550b:d387:a102:1511:5e8b:8a24]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e77e578001sm2566697a91.43.2024.10.24.23.19.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2024 23:19:14 -0700 (PDT) From: Tony Chung To: johan@kernel.org Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Tony Chung Subject: [PATCH v2 3/6] drivers: usb: serial: mos7840: fix coding style warnings Date: Fri, 25 Oct 2024 14:17:12 +0800 Message-Id: <20241025061711.198933-4-tony467913@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <202410250141.AEkzzW60-lkp@intel.com> References: <202410250141.AEkzzW60-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 fix coding style warning of "Missing a blank line after declarations" Signed-off-by: Tony Chung --- drivers/usb/serial/mos7840.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c index b1a794f99..b48a26468 100644 --- a/drivers/usb/serial/mos7840.c +++ b/drivers/usb/serial/mos7840.c @@ -228,6 +228,7 @@ static int mos7840_set_reg_sync(struct usb_serial_port *port, __u16 reg, __u16 val) { struct usb_device *dev = port->serial->dev; + val = val & 0x00ff; dev_dbg(&port->dev, "mos7840_set_reg_sync offset is %x, value %x\n", reg, val); @@ -280,6 +281,7 @@ static int mos7840_set_uart_reg(struct usb_serial_port *port, __u16 reg, { struct usb_device *dev = port->serial->dev; + val = val & 0x00ff; /* For the UART control registers, the application number need * to be Or'ed @@ -449,6 +451,7 @@ static void mos7840_bulk_in_callback(struct urb *urb) if (urb->actual_length) { struct tty_port *tport = &mos7840_port->port->port; + tty_insert_flip_string(tport, data, urb->actual_length); tty_flip_buffer_push(tport); port->icount.rx += urb->actual_length; @@ -743,6 +746,7 @@ static unsigned int mos7840_chars_in_buffer(struct tty_struct *tty) for (i = 0; i < NUM_URBS; ++i) { if (mos7840_port->busy[i]) { struct urb *urb = mos7840_port->write_urb_pool[i]; + chars += urb->transfer_buffer_length; } } @@ -944,6 +948,7 @@ static void mos7840_throttle(struct tty_struct *tty) /* if we are implementing XON/XOFF, send the stop character */ if (I_IXOFF(tty)) { unsigned char stop_char = STOP_CHAR(tty); + status = mos7840_write(tty, port, &stop_char, 1); if (status <= 0) return; @@ -973,6 +978,7 @@ static void mos7840_unthrottle(struct tty_struct *tty) /* if we are implementing XON/XOFF, send the start character */ if (I_IXOFF(tty)) { unsigned char start_char = START_CHAR(tty); + status = mos7840_write(tty, port, &start_char, 1); if (status <= 0) return; From patchwork Fri Oct 25 06:17:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Chung X-Patchwork-Id: 13850085 Received: from mail-pj1-f43.google.com (mail-pj1-f43.google.com [209.85.216.43]) (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 4E6FB13049E; Fri, 25 Oct 2024 06:19:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729837180; cv=none; b=La1OviOJE5M2erDfh6fesAeN9jm8PUhCSuQFz5xCIkbc3RBr1Z0VknMi9QbCd0OGaiBc3qrSXf0cNsVoTVg3286m3ycaasr6ssXwnSYJQfCjm35xtFUkM0b1nq1zHIJ6rhJZ0d1bwVAGb1oE5cgyIXaa+emw5JXwa/yE8FvxHDg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729837180; c=relaxed/simple; bh=rifYc4joS+y4M62HPI3QWAZUqoJ5yl1ftC0NWAuHLF8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=gF1XsrqIMqi+f2zyFfyJ4zLPY/uPGuYB/pDkUTL+L2g6G5283FQdbgPiupiy3xgVy51jnn4w/XQgyLdM0GqW1gGs63/qgjC7Wk5C51O390if3jzcTgD5EOsIZ+/BCXiOifVz2QGLQLRZImnYRumJu6jY1eXJQMsTSrnw8hulbbM= 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=VMb6fv8u; arc=none smtp.client-ip=209.85.216.43 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="VMb6fv8u" Received: by mail-pj1-f43.google.com with SMTP id 98e67ed59e1d1-2e34a089cd3so1318584a91.3; Thu, 24 Oct 2024 23:19:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729837178; x=1730441978; 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=wQ6TfJkvEYmWf6I8Vd95RAcRiXRvQlRHKesn8/Q2iag=; b=VMb6fv8u6etaNa1wXVkIRVIqwy4bAp68RgsUqvjy8R0g/ynisEkzcymwT/Yi5HxjCU EFIRPTrs7URFeH48L1kvV1ytiOvI3E7OeNKnOuOKpSkTy/Yzx6q0SPylXARdMQ4Uc899 qMmNUrtMwJ2hYGrCvc5V5hNLiYElZsnK6de8reXp/A9lGUtIqfaeZ36wjeiGhYRDvJEG AcBZiWF6QZpmeTM5Yc4BQg+0i8DFoQHSuYr8LuRBEUjzSj9hrw3KRUcWFoPf2HoaEye9 ypHtC9VaeIKauiBV7nOJM0KdG4mOBsVXA3if73aZYw4XV+K+LnAP1RklFdibUVzS75pv idGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729837178; x=1730441978; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wQ6TfJkvEYmWf6I8Vd95RAcRiXRvQlRHKesn8/Q2iag=; b=wtE2AniwTASpmHvzFmOOSaDZrVPUI03EoMQSom9zieWuefUKsBQ/qm13xXZBHXuQwf YzDTnf30LI5y7lIQgBHB9MEy75ZgeOiZ+oD3j0vwISxDy79EpOBsVlve30YrGoWTiKHv 62vJsNh6GHRAz1pStqWZWJ2nP7lvP8pyzIsl4Rmk235lCg4o9q1u3wPs+mWnmyvl8E8X YJZH08U6tHfIcKOyvh0nFpqHsnJ0US5dpVW+9sCC19BoIizuOxIffvpAOFoOqfAcSA7W u+gYFIPhqJC5wo0LPtr9FQZoObtn0vCbbb242Sko8XEDgiy+0jwz3XKHk5AzNs12zk2Y mkuw== X-Forwarded-Encrypted: i=1; AJvYcCWLBcbWuzJhhJmhFbRd6RJkhlFID81jHMgcaP6BG1kg6gVjvZcs/SL7ecp4Ns0SCWKMIL6DVIjgyEcd@vger.kernel.org, AJvYcCXgO1IqLPTpbt2rx0fpSSYts4shFZgIfBcfaoh6OYlCiCb9cKCSvqBT2b83JjkVfP+SzLWYcskZR24KQl8=@vger.kernel.org X-Gm-Message-State: AOJu0YyZAkPEai+Ak2rYjOHH6vdVpEonLYXX1gBOOg0/fAdG3naVOW2e JQ6AizzvUPVh8snW0lc2rHAxf3NTMXHImW/U4XGzoi7NC7N5kjpp X-Google-Smtp-Source: AGHT+IGb41h5T2OqQiAP29qHlV7LUZg0Ln+kj93y610F15nJ/W3vun72o97u4ZZJNoI6CwrIRAYRYw== X-Received: by 2002:a17:90a:5508:b0:2e2:c6b9:fd4a with SMTP id 98e67ed59e1d1-2e77f45cb87mr5442836a91.18.1729837177582; Thu, 24 Oct 2024 23:19:37 -0700 (PDT) Received: from asix-MS-7816.. ([2403:c300:550b:d387:a102:1511:5e8b:8a24]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e77e578001sm2566697a91.43.2024.10.24.23.19.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2024 23:19:37 -0700 (PDT) From: Tony Chung To: johan@kernel.org Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Tony Chung Subject: [PATCH v2 4/6] drivers: usb: serial: mos7840: using '__func__' to replace function name in dbg message Date: Fri, 25 Oct 2024 14:17:14 +0800 Message-Id: <20241025061711.198933-5-tony467913@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <202410250141.AEkzzW60-lkp@intel.com> References: <202410250141.AEkzzW60-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 fix warning of Prefer '"%s...",__func__' to using 'function name'. Signed-off-by: Tony Chung --- drivers/usb/serial/mos7840.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c index b48a26468..31ec2cf1b 100644 --- a/drivers/usb/serial/mos7840.c +++ b/drivers/usb/serial/mos7840.c @@ -230,7 +230,7 @@ static int mos7840_set_reg_sync(struct usb_serial_port *port, __u16 reg, struct usb_device *dev = port->serial->dev; val = val & 0x00ff; - dev_dbg(&port->dev, "mos7840_set_reg_sync offset is %x, value %x\n", reg, val); + dev_dbg(&port->dev, "%s offset is %x, value %x\n", __func__, reg, val); return usb_control_msg(dev, usb_sndctrlpipe(dev, 0), MCS_WRREQ, MCS_WR_RTYPE, val, reg, NULL, 0, From patchwork Fri Oct 25 06:17:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Chung X-Patchwork-Id: 13850086 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 9208018C030; Fri, 25 Oct 2024 06:20:02 +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=1729837204; cv=none; b=PCuz6dsMmJsliwM50E1R+SL0/xWOJI4RuHAg6BuZpYw7peCpTwQnQ3uRwwS3tpwD9rMPKuA7VgVncQqRgwaWEIg4uEsp59QO150Q/XzlRVCCEr5E41Puwa/FM295NM+VDaZEjuIeL7ai3iR1SWnLSmZlSbC2U88J7+FwYPGWR+g= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729837204; c=relaxed/simple; bh=V+vzqnpPmPOEdSqgXZ6tsPtY00/HMyQfMBMLBpIhT+c=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=q9OHXwS2kHH0CmL1PDb7VIaibDeOeUBE2v1drwLLRsLH/rjb4xcjNjBmKN5Fxr3kYQHij48H6JKWW/EEObggrtonFltyFZnV/NfAOv06a44Nje5hvydmS7tPsJPGlRIbNrODCvHB0VgJyzFMfKK9s8jmsEfehhqeNBD+seSGftc= 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=jWYd3nr7; 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="jWYd3nr7" Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-71e4e481692so1257759b3a.1; Thu, 24 Oct 2024 23:20:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729837202; x=1730442002; 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=qhrgVqLyxdqiQnXAPef/3Ame6YwmD5s7oj3GvR+R9AY=; b=jWYd3nr7DOwk53CvbAWLHw0OWF+1Qf43Cc2ofFPrfd4nnwTXcKbq2l7b3ihyg/mTXD JdtnnMza4dGqQ6LcxIPPT0E9+ZHsOV4CXpOFDAtjJT096iQ8mlhqSFvgJSJOQyAiyihT o7b7tvM/CvV36NLTNr4L141r/iQwFmyuKsA/DqPvWP1yYpjqIpkbcSVMDuQHxFiY9AMK uqu4FMrb3GLgtVKQQOChpHzjpTOCKVOnvG4gpWzhZ3YYzwsvAEv2TdCXxnbv7NOFm5t8 JPhMy2bVcpTlZoGMunuBaGUtj3vtWEdU8jJGR8XoBG1CN3dmYf3In4uF//1mlarHIQQQ Zd1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729837202; x=1730442002; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qhrgVqLyxdqiQnXAPef/3Ame6YwmD5s7oj3GvR+R9AY=; b=ZbzyyG4mG5kxdNw2GUYFsvumSbtTfv7N7XIpELrF0+22EVnapXkVXpYSdXiZGSHbj7 8VGIyvagulGtQBKtx/ovs93vQr2xYJSV/UrZ52AStna0wF4lWVymIhT0Aq+QusDhaY3B 2PyrVzPrh1PdB99N/zue9NDn0t6IJ82Me6YWI+pQbcK6nfJNlUx2qgUJzwovR6G0sKur W1UgnfCo1EsbwGUAPHZXLLePJk4mj4FbquLzcy7iLqxueKJVjs/pV6B4K7x5jDuLAj10 aDiT3aM1v6+d30+ihNEED3x6eqQhFKkl0/Is2fHoZs+aoJ5rwrze6RET99IFeIzW/YUO rjWw== X-Forwarded-Encrypted: i=1; AJvYcCWkH2EXZS66ahtnPEmrBBvOUOQ3oZIaBaA/5EGPy37r/j18HDo6P+fB2YSd7HaYXEGWFibA2oCawRW5hQc=@vger.kernel.org, AJvYcCXUhJ1wiVB2IGVpLY9WxyRxsgw46xujmK6PoeAd0Xc2wxJVSUEbEWBUxA6+OmNTqZgjr8oagpiQmzBT@vger.kernel.org X-Gm-Message-State: AOJu0Yyk655LjtIvGAQS6hiqTa3lkYWovUJTpYUxpHdXolGugiIyPMap ovBPPU8o3CGiPREHMDgp1pROIH7J1ZtYNRr5SW4Bp7XhewR2P1f0 X-Google-Smtp-Source: AGHT+IHLtn6zzosWSTiHk/ocfkpgYgaKXO9o5WjHynguqyhi9xSdotBxeLlz/c/h5aq5C8GJKiETbQ== X-Received: by 2002:a05:6a20:b40a:b0:1d9:261c:5937 with SMTP id adf61e73a8af0-1d978ba06eemr9944881637.33.1729837201788; Thu, 24 Oct 2024 23:20:01 -0700 (PDT) Received: from asix-MS-7816.. ([2403:c300:550b:d387:a102:1511:5e8b:8a24]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e77e578001sm2566697a91.43.2024.10.24.23.20.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2024 23:20:01 -0700 (PDT) From: Tony Chung To: johan@kernel.org Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Tony Chung Subject: [PATCH v2 5/6] drivers: usb: serial: mos7840: replace 'unsigned' w/ 'unsigned int' Date: Fri, 25 Oct 2024 14:17:16 +0800 Message-Id: <20241025061711.198933-6-tony467913@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <202410250141.AEkzzW60-lkp@intel.com> References: <202410250141.AEkzzW60-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Fix coding style "Prefer 'unsigned int' to bare use of 'unsigned'" Signed-off-by: Tony Chung --- drivers/usb/serial/mos7840.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c index 31ec2cf1b..d2cae6619 100644 --- a/drivers/usb/serial/mos7840.c +++ b/drivers/usb/serial/mos7840.c @@ -1201,7 +1201,7 @@ static void mos7840_change_port_settings(struct tty_struct *tty, { struct usb_serial_port *port = mos7840_port->port; int baud; - unsigned cflag; + unsigned int cflag; __u8 lData; __u8 lParity; __u8 lStop; From patchwork Fri Oct 25 06:17:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Chung X-Patchwork-Id: 13850087 Received: from mail-pg1-f180.google.com (mail-pg1-f180.google.com [209.85.215.180]) (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 3E8AB1AF0CA; Fri, 25 Oct 2024 06:20:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.180 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729837240; cv=none; b=Mn/dGeEHWxX5ncJWB3W2mbzr7KSEidRMWA+5BKWpIl4HNiXodWZgFcZFC5TxDhuzp7cIjreRzFPlCoHPPKe49EDap6biSox9jiWgvzmIR5z0ylB2TrfhOwZIIM3g/XXv3FgPR15GIxemcwqtcg004OEPLdnqhZa8adyHDclHQSA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729837240; c=relaxed/simple; bh=hF5GrOs/71tmQ86vyjwtkUojfhnj2UiQabC1Ht7tW2I=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=c7f8RUT59LtX2d17nkA53ifolUg8eeZXmIbBYGab7mvfspzDwwfhE959Ea9nZUHWk2VQA/X/EaI7lo8kU+ZqB17yi4LaSUBcqKv+YzSVhKiveljMDMDtEu6z1z+I2Mr9WzMvsBdVPDLW+/REqC7Hm8HJnSDCGGMLnlJEcvu29DA= 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=Yozff18C; arc=none smtp.client-ip=209.85.215.180 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="Yozff18C" Received: by mail-pg1-f180.google.com with SMTP id 41be03b00d2f7-7ea9739647bso1118256a12.0; Thu, 24 Oct 2024 23:20:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729837237; x=1730442037; 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=9tYNG+78DBNn93GWBi+9KVe/Zt15FWTJVd95+HyWo90=; b=Yozff18CiMx5KeKHSV2FJlozoDCztWSsvwSEPvNIwWkfcK9AKMiLorZmNWZ7hU9dGR ih0N6iZXcxeJoyI7EecemG7bltDXH9XfsoiL8mGAznn4Gy4A3ZllA/vG6I2pPcK8Z4qe iohC4iiuhs8K3fQ/zh2ZuRVhla8A2M7Fh0G519i/KAA3K4hY9PZ0GIRSMhZBdaFWJ1UF saULnbeflR426e8iQskzGmy4U6Z548zP/azb5bbZd9OMP+V0X7Xfx5Bi8xFbn69IXVfT oiD975awq/GbVKDWlsp0xbcpbY3UGLgkIdDJ0M1NnsNV+lMEEMzoAlUaXkfeE02z2CAz Gr2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729837237; x=1730442037; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9tYNG+78DBNn93GWBi+9KVe/Zt15FWTJVd95+HyWo90=; b=mSt7GIFmvHEiJKmtVFbg3r0d+UKEdDuHWub3JxO/GrVCMdr8XWWnUK6Ahm3vwykcRs OTI3QQwcV4cjkXaTJfVL6b2bYUSbMTjKJKVi+fRlSddi0Rw5t/FSqtcfW0L/of4x+zkj RnQRyaPYtlgSwKGuIxyEBn3HaG7CnlpxHvthY9AK9crE6guMgXhww+s4oPzxSKMjIJtX k0ZuFBEDwCXcDDYKapa95SUcF0r8YzBhsDIONS/KaPBHza2aATVtTzxRI0Am36OzOgsa vSaMmd9ENLcFx4bdY2rrGuW/8AtGvdlECwmpsEf+aGVr2vqGP9+irfkojOGkPMuepXcs RiNQ== X-Forwarded-Encrypted: i=1; AJvYcCUzreDXCxQqtvbQn44Gu1wmAWnXPRA0k7t3Qh3Tl9m6vBygYxlRv7fKdMm6GxD8nnt+Imp6ztOTuHOir0s=@vger.kernel.org, AJvYcCVIj2+LXK30rhR0q9mId9DDI5MXUf+WzvYWOqPPDmYBnn0WuFc4DO6TRfncEoN1FiwIdMK61ykSXj4h@vger.kernel.org X-Gm-Message-State: AOJu0YyuwlduJOF/Ls5qyfbh5X3srUc+p3NiHCl5EnsgNST/wfkJHcgq wajhpQJfq/oZZpMl7Pt1sSWx0HVFq7cFmIIBz2jFAizxDOKgFvlE X-Google-Smtp-Source: AGHT+IGSsmBebJa0EIwShAd8d+WR0b3Fy7UirrEelOmW5ccH+xCGPrdFCKThKORHx4Bd4qrDPbQl5A== X-Received: by 2002:a05:6a21:6282:b0:1d9:2694:44df with SMTP id adf61e73a8af0-1d989d20f14mr5373119637.43.1729837237498; Thu, 24 Oct 2024 23:20:37 -0700 (PDT) Received: from asix-MS-7816.. ([2403:c300:550b:d387:a102:1511:5e8b:8a24]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2e77e578001sm2566697a91.43.2024.10.24.23.20.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2024 23:20:37 -0700 (PDT) From: Tony Chung To: johan@kernel.org Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Tony Chung Subject: [PATCH v2 6/6] drivers: usb: serial: mos7840: fix the quoted string split across lines Date: Fri, 25 Oct 2024 14:17:18 +0800 Message-Id: <20241025061711.198933-7-tony467913@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <202410250141.AEkzzW60-lkp@intel.com> References: <202410250141.AEkzzW60-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 fix the coding style warning: quoted string split across lines Signed-off-by: Tony Chung --- drivers/usb/serial/mos7840.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c index d2cae6619..e3100ebbc 100644 --- a/drivers/usb/serial/mos7840.c +++ b/drivers/usb/serial/mos7840.c @@ -920,8 +920,9 @@ static int mos7840_write(struct tty_struct *tty, struct usb_serial_port *port, if (status) { mos7840_port->busy[i] = 0; - dev_err_console(port, "%s - usb_submit_urb(write bulk) failed " - "with status = %d\n", __func__, status); + dev_err_console(port, + "%s - usb_submit_urb(write bulk) failed with status = %d\n", + __func__, status); bytes_sent = status; goto exit; }