Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp170616lqg; Wed, 10 Apr 2024 21:13:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVNPDoWNER4FiruaN8SDEnZjvVRszz5U7o4ZLnAAZVoFFZWaYBuQ7+MlNLI69sJ6Lvvpdq1wDaI9IPNHk+737SjfXMJn2BdssFqfTcYdw== X-Google-Smtp-Source: AGHT+IEp6V9PJ1oA5pFJEX1MH4C/Dm2MX0pQ5yh5pqQwuNYRfjBai/jDfKCXK3sYiyz4/uq9OZfx X-Received: by 2002:a05:6a20:9f8d:b0:1a9:5a2a:7e37 with SMTP id mm13-20020a056a209f8d00b001a95a2a7e37mr4362605pzb.56.1712808804334; Wed, 10 Apr 2024 21:13:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712808804; cv=pass; d=google.com; s=arc-20160816; b=lGL5uIHCu0CeOpSfdvHfOewDk3/u+eUgqJAls7hGDtenSuHSzKwCvF8Y1A7gG4x6N1 U46gpVKdlPwnSoWn305isvdGOAtpw1NER3CA8WM8zOj7cBJS7HE/fM0wDKlbN/IJTopm jeWKa1fwTl3pVLE1SuPjnP0rzLXqd3FCamhobphi7d4NqbhmiXCkRFgmBYWyu9FZw8Q4 r7wifqyh1xE7H6Rlkc8HLHA6H06SNNHUAVnGeDXVwizGVPAerN7gsA/rqVBA1oAkYZXK AW1beqEdACX8QZx7s8nYuoCziQWXwH0sZF7yw4G1tZUoeLeDOFdBfqAMuU/FcWjKDX3/ p0Kw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:subject:cc:to:from:date:dkim-signature; bh=lPDwBKRCubIX0F6/ZowgP9Duhxz7KKg+aC1/9vnrLrE=; fh=7FqeQMBxjW6k4Ni75c3ob445YpQST4fGLTpmtkkZ/FQ=; b=mAWOAhzgxaDcW4DrjfaAuvTK1catYa5zb2iPoPKOwxItkxPaVnvKM3WIPYi95CgCjd n1TaTbJUK6+TabQnbU2lfmx8BF+DrrDfyGGEjy2rqCo6gaOpKzF29dJK4IKO6ZL3io4x LDv2nGJjSyWD7X+sfyDZX15Zbe/agBksqrY7Mw0H62/CJ4LesPkEgRuT91aINlnT+3Mf RLpI1Cw076SHXUVN2qnmTRqB5JpqlshtT7DNwDSVbg1p/ORSd16Az2YqRmYU4G/uYyRS GfEvdXAvUiX6d+cq9R/9mp4IRGgBXdyRvrikGLtAlKj7N2cJedzKhxfi4Fwl+BN7Y3Sx yifg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=rR89jJi+; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-139733-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139733-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id h4-20020a170902748400b001e3e56426e0si503279pll.556.2024.04.10.21.13.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 21:13:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-139733-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=rR89jJi+; arc=pass (i=1 spf=pass spfdomain=canb.auug.org.au dkim=pass dkdomain=canb.auug.org.au dmarc=pass fromdomain=canb.auug.org.au); spf=pass (google.com: domain of linux-kernel+bounces-139733-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-139733-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 92D29B21748 for ; Thu, 11 Apr 2024 03:57:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4465213BC10; Thu, 11 Apr 2024 03:57:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="rR89jJi+" Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (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 99D2513BAF6; Thu, 11 Apr 2024 03:57:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=150.107.74.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712807866; cv=none; b=Itc1Ok18by/jyAVn1Pp/+hmTIIOHJFMHt7jPPAxBFhr4e6O9XZ4fcDfnWQpNqC/74bKEUQkOaJvGVZWiaGxZeql7wsBQM+Zng43gRCs2uiH1E54aW3+dDkT9UI7YCh8Jlyp/QMbUsJcNBY4bw73BianWak+QTgNZHdLUgISal8s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712807866; c=relaxed/simple; bh=8Mb6POUwv9w7aVdlQwqiua0jQekhZyZpeL5O1GgkLZc=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type; b=guPaywmtcI3MeMkk33DgEMx79UoBlhRmebHpLu3jVOBIUIbxImszT07dTg/9vXRy9bfE13sVH3nbhGoySSI8+0c6/CegWZwGU9nVAIAUjQeb+Qk/7faThBHK8GLxrTvJS4fODatbpS88oUBZ4lNVjlo8vSufWWMwl+lrtpIyDaw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au; spf=pass smtp.mailfrom=canb.auug.org.au; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b=rR89jJi+; arc=none smtp.client-ip=150.107.74.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1712807857; bh=lPDwBKRCubIX0F6/ZowgP9Duhxz7KKg+aC1/9vnrLrE=; h=Date:From:To:Cc:Subject:From; b=rR89jJi+FFG7lWdPTnIvxvI9Xm085OEqRoA+Ya5oE7Nt5iYcYrog4sN7J/MkxeS/y 2nGgjS0CaZ4lFabM90p1PVzZ5a71CbAbXiiKft+Kv3yOYmFntdmnsbZj1hmgOHQkBd SB30xWSlfMtXKm462I+jpWjLZLKIJFtu41xD6c1cbjYwqm0yOpaV3TI+QFmmpKRIrb pjjMAKU0lNonPLcTLh79vKPAhLn2HZHpPtVtRLP7ABqgZN64Psc0/UHle91/x+5Swr QmjalxEvNAVt/tGsDaaa+5OasHDoNGM2kIrn5ULp4AsLbFWL+bywwJfwQzQG9XxRDG WJ6gnOd9lRtkw== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4VFQrc483tz4wqM; Thu, 11 Apr 2024 13:57:36 +1000 (AEST) Date: Thu, 11 Apr 2024 13:57:35 +1000 From: Stephen Rothwell To: Greg KH Cc: Andy Shevchenko , Greg Kroah-Hartman , "Jiri Slaby (SUSE)" , Linux Kernel Mailing List , Linux Next Mailing List Subject: linux-next: manual merge of the tty tree with the tty.current tree Message-ID: <20240411135735.58de7090@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/KBcu2OnPzWfoG+guo3smTg."; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/KBcu2OnPzWfoG+guo3smTg. Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, Today's linux-next merge of the tty tree got a conflict in: drivers/tty/serial/serial_core.c between commit: 9cf7ea2eeb74 ("serial: core: Clearing the circular buffer before NULLifyi= ng it") from the tty.current tree and commit: 1788cf6a91d9 ("tty: serial: switch from circ_buf to kfifo") from the tty tree. I fixed it up (see below) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts. --=20 Cheers, Stephen Rothwell diff --cc drivers/tty/serial/serial_core.c index 2247efe97250,a78ded8c60b5..000000000000 --- a/drivers/tty/serial/serial_core.c +++ b/drivers/tty/serial/serial_core.c @@@ -1788,9 -1773,9 +1773,10 @@@ static void uart_tty_port_shutdown(stru * Free the transmit buffer. */ uart_port_lock_irq(uport); + uart_circ_clear(&state->xmit); - buf =3D state->xmit.buf; - state->xmit.buf =3D NULL; + buf =3D port->xmit_buf; + port->xmit_buf =3D NULL; + INIT_KFIFO(port->xmit_fifo); uart_port_unlock_irq(uport); =20 free_page((unsigned long)buf); --Sig_/KBcu2OnPzWfoG+guo3smTg. Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmYXX68ACgkQAVBC80lX 0Gw33Qf9GVGrFAJTvDWhp1iY7lUIi8ItgiP23HhhrEktUeWw6KxFsmZdXDElZu+J VprYg+B4FYl/iQmtvIF5dZP/9f/4QeGNwGoVpDGWXzYr5OOjZwQ/vjINgASSmuyw GIzK2vHvg2d/FAS+FsG4ATEXbL1TH3DH89y3QEnNtrJj8oX+rmAYae/etvjjrYo4 ZxkFy6df/sQG9wLwuIHFHnImiriMZCLvXTHa+8g7ZEvcx3Fs72aya6JqzGWp8uCT GuRhT6wf8JQFIDTYWlO12YTP6mqbxVWwVzZb/NYVD8LIydt42gpPbSTnQDjwLKpU iGzi2bbZRGF7qdndNz7qmB2l7PVcwg== =SwEf -----END PGP SIGNATURE----- --Sig_/KBcu2OnPzWfoG+guo3smTg.--