From patchwork Thu Sep 21 13:07:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chuck Lever X-Patchwork-Id: 13393921 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 8AE95B641; Thu, 21 Sep 2023 13:07:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C7A1C4E681; Thu, 21 Sep 2023 13:07:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695301645; bh=qyHw5bApCQu5BdpZyleyylD8P6jiSQ1K+rp1yYyvtMk=; h=Subject:From:To:Cc:Date:From; b=PPZa5YQpyP2JvrM0Raai8QOxGBXh85R3oFgOT0XMb/NQwEaahu9ah3QwUsGDFFSyG 2HJ760Ro/Jn9uqEcwuetjeex3Wdm9jXlWFIWpC8HIx4GcjDltWuaZR2GhrxEghbnWr YEnF7FS44leWpScMexvqwNhJaxNbAhJmhIdJ/chkty5ppMxWKKv4iwJ2HjicAjdMMr AvcNQN14pdi2XuWZogEtIFtVT53xlSk8X2hg2WDt6G2dQNvu6/KdCvjX/SGTeGVdgO L22hDNAP3YF79kx1romkzHSdNEDTVfCVfNykY0hs12fQu16DTdIXyDz3zvjPL0qwSb 9l6GbzHGAnV0w== Subject: [PATCH v2 0/2] Fix implicit sign conversions in handshake upcall From: Chuck Lever To: netdev@vger.kernel.org, kernel-tls-handshake@lists.linux.dev Cc: Chuck Lever Date: Thu, 21 Sep 2023 09:07:14 -0400 Message-ID: <169530154802.8905.2645661840284268222.stgit@oracle-102.nfsv4bat.org> User-Agent: StGit/1.5 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 An internal static analysis tool noticed some implicit sign conversions for some of the arguments in the handshake upcall protocol. Reviewed-by: Simon Horman --- Chuck Lever (2): handshake: Fix sign of socket file descriptor fields handshake: Fix sign of key_serial_t fields Changes since v1: - Rebased on 581512a6dc93 ("vsock/virtio: MSG_ZEROCOPY flag support") Documentation/netlink/specs/handshake.yaml | 8 ++++---- net/handshake/genl.c | 2 +- net/handshake/netlink.c | 2 +- net/handshake/tlshd.c | 6 +++--- tools/net/ynl/generated/handshake-user.h | 10 +++++----- 5 files changed, 14 insertions(+), 14 deletions(-) -- Chuck Lever