From nobody Wed Aug 23 17:49:15 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RWDHJ0Phcz4r93r; Wed, 23 Aug 2023 17:49:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RWDHH4fBlz4RLx; Wed, 23 Aug 2023 17:49:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692812955; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ccwXv3k8D3anlFdk/AkPezlF7SlQQxjX3AyXbufZtP8=; b=dR/W1vfWJOyoZgcGg985kaYNGMKyZNQuNFOmQkGnRif9U1aC8ZNma7jh8xYewZhxmbPQaQ arwrmCP4UirWM5toFwieo9tSsMn/PDeMJKB9Sb8SobdpMGL6XevpBOXmeWaClgh2hkVCst pBnhPc56AdTztlKMLP+7PvfwiXeZKPOJ2HeMPKJWDbRSKYBeRUlaHS55v40OpOoYIRUBkQ cdsECvz4pAJuyZ9t7EtnOLRECCIRJWxLP5IjN3ycInd+/M7XhudA325OO2jm6P/3+zX8R7 eYf+V8FasDWyYrQ0LwwdaaN+Ne6V0t9mWTtWcPfzP6Fq5NzLwAS++rnSwjJ8mA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692812955; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=ccwXv3k8D3anlFdk/AkPezlF7SlQQxjX3AyXbufZtP8=; b=KttahYgve6pG8ZO8lkK5hY2L/ZQ9FVy1f+ILYpQgUg0ncnxuWMepn430m5/Ah42yydEHSr Y1L3bm7wGHYVmzAJxYX4HiTZ2VXc+GQUnG0tF0BqYXPflvu7M2E3EB32AM+uTFRoSjdecD roMii493Zn7P0ytynJj50diDkRZVkn3o5JRC30jiY5qCP7iIG6whn+P1y9Q6lxfC+s/Fl9 souyTCUuAIVfGNIBnNst9kU+QYNwetkJeJ3ZvvSjKlH5YViGFsPkZ9uRWh8vTu9JyeTGt2 4WS644Jg9IaBURKcy6TSUZgTwF3iot9vFT1tv2pvkWbfuVj0BRH/sECBGUJf0g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692812955; a=rsa-sha256; cv=none; b=bBtY+HF8XM3QIxb6CsuqaxqwOEOz452H+j7MCh+lEzf6BRFzBUrsFkvQJrN9swTlGW8yp4 uJN68W2X5UE1qFe+tOyrdNuCaEqlmaCxXS8D3WkslRDfNWtQveD5R54rqpPwPbLzGuPtJt sEDNe/5Yt6ixYac2Ckl+hJjdQ7INhj5Pke/wp1476DaAgoXIcrMODjNi5Me7pDag29mJmz mUlOa4yGTVGtdIfnG/HJGA2kM8j2y6d7V1hnAhbouOiUGta30DCiSqnJVN5Tj5SRZ1hoyZ F/6iwEc9K4HOa9x4dd3XshFQ9wc+0uK34Ks+jvQ3wEPi+4pM8j7Obgz8Fdq2HQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RWDHH3h5mztxL; Wed, 23 Aug 2023 17:49:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37NHnFgN039927; Wed, 23 Aug 2023 17:49:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37NHnFlm039924; Wed, 23 Aug 2023 17:49:15 GMT (envelope-from git) Date: Wed, 23 Aug 2023 17:49:15 GMT Message-Id: <202308231749.37NHnFlm039924@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: 1ddda65e6fd7 - stable/13 - usbdevs2h: Ignore First Line and stop generating $FreeBSD$ List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 1ddda65e6fd720b0366c0e9da64d2eff3279b8ee Auto-Submitted: auto-generated The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=1ddda65e6fd720b0366c0e9da64d2eff3279b8ee commit 1ddda65e6fd720b0366c0e9da64d2eff3279b8ee Author: Warner Losh AuthorDate: 2023-08-16 05:32:04 +0000 Commit: Warner Losh CommitDate: 2023-08-23 17:43:17 +0000 usbdevs2h: Ignore First Line and stop generating $FreeBSD$ Just ignore the first line of the usbdevs file. And stop recording what the usbdevs* files were generated from. It's said '$FreeBSD$' for years now... Sponsored by: Netflix (cherry picked from commit 94b73d30ef2b0d85d4834a1e4dc29e0457a8faef) --- sys/tools/usbdevs2h.awk | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sys/tools/usbdevs2h.awk b/sys/tools/usbdevs2h.awk index 42e57cf190a8..25c29c798b3e 100644 --- a/sys/tools/usbdevs2h.awk +++ b/sys/tools/usbdevs2h.awk @@ -45,9 +45,6 @@ function header(file) printf("/*\n") > file printf(" * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT.\n") \ > file - printf(" *\n") > file - printf(" * generated from:\n") > file - printf(" *\t%s\n", VERSION) > file printf(" */\n") > file } @@ -234,8 +231,6 @@ line=0; while ((getline < srcfile) > 0) { line++; if (line == 1) { - VERSION = $0 - gsub("\\$", "", VERSION) if (dfile) header(dfile) if (hfile)