Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp748781ybg; Fri, 12 Jun 2020 13:38:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvRCnHyLSDyoFZVIJJC9jZe0tR+/Vz+K+8txEzG1E/HnSmF2iq6I8rt2/MW5qM/0qlFRCV X-Received: by 2002:a17:906:2bd8:: with SMTP id n24mr2576133ejg.83.1591994317302; Fri, 12 Jun 2020 13:38:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591994317; cv=none; d=google.com; s=arc-20160816; b=H9OLSxYaqYtUrqNPXWSKTgloz9GMQizpUvJR4gJjgF8qYM02wR+F2Z0rxy75Eep7Yb 6KC6/9YZqgu0MD46H2lcqJEfdJ6QEYWc3hy7i05uyXQ/1T8Ppv5Wg3wqWb78iLAa/3/j ClEE7DARWYGmZPEREYXm+Wa8Z/feL+cD+yIa7/FyC5cldNJj3234sHjl9ElN3jzpoYUf LoSrnWd9lK0E01ianDzSQRxWV1BS7D1DfGSrBU3/OHhtLwuQHjm9KDhCEAJOhG1Pora1 5CmLmdLBMQRIme3RzxSDPHGIByhm3HfBrnIo5G6XawXdXWcaFDO9ry0mGALXLnGcP9ts QFKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=wROdf8HBRYGjci+FcVWPhwOc9p6yIiBON7n20xZn4+Y=; b=JRFjtvinpLUyiBWhRlgMsDAy0zHbN8Utc4z43NfHGiasGf4T1AL//lCuUo1z+nahIf kV+dngT/HwjSk0VRqT+fG7T3FY0SfoeGGJ/XuV6uFRvrtMqfmTR2JgfktXSql8WwEcTM FVGgsWeD1+pZDgJLvrwDfekgbPPin/Yk0AxHPuYVHGwMVyuh4uk0vx4WKTwFN6Z5reJw 38G9CnDVZm93zF/ucxHKavEcQM3Fc8MWZOt3FJh/YcHVdG4hUVKxYhjB2Hoc1prX7whm qiwSlE4froIB04SUlMX3WdPety149k5TOZUTCYKdT3uk5Jcm61Q7bnpVl84iSQ5iiVGQ dkYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hb9fxq.ch header.s=default header.b=m6WTNBfx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hb9fxq.ch Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a15si4467633edl.138.2020.06.12.13.38.14; Fri, 12 Jun 2020 13:38:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@hb9fxq.ch header.s=default header.b=m6WTNBfx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=hb9fxq.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726358AbgFLUfH (ORCPT + 99 others); Fri, 12 Jun 2020 16:35:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726290AbgFLUfG (ORCPT ); Fri, 12 Jun 2020 16:35:06 -0400 Received: from sw.superlogical.ch (sw.superlogical.ch [IPv6:2a03:4000:9:189::4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5BBDC03E96F for ; Fri, 12 Jun 2020 13:35:06 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 66A2FC22FD; Fri, 12 Jun 2020 22:34:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hb9fxq.ch; s=default; t=1591994095; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=wROdf8HBRYGjci+FcVWPhwOc9p6yIiBON7n20xZn4+Y=; b=m6WTNBfxbZa77BWcHve2lgxpX6gH/O36ljv05GMeame+CGhnmyQ7qNjEn6I0zt5maQJxI9 Bf+FtO0GTf7I+WknbOS8G65oAl4zfWZahZU61J4RQGXR7b5Yyj1N7ZBOvVGslYzl6ZRT3b 3MvrS7J0wZ808pcBzhKMH+VD+HINYbOqslPtLKt4neshNH8ppZ3xesVrza1ogwYXL6TT8d dQGv09gVoZ3zLbkr7JiWNME5GikfbWxH1fbJuTbcwRKedCrfDhcDOjXEEzxkGb3cqT2V2H 1ZTgWjU1PyWW/X/TA5F5macxWFiWq6az8A51h1PiVOYDxg9mWBtut5wJ49S24Q== From: Frank Werner-Krippendorf To: David Howells , Jarkko Sakkinen , James Morris , "Serge E. Hallyn" , keyrings@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Frank Werner-Krippendorf Subject: [PATCH] dh key: Missing a blank line after declarations Date: Fri, 12 Jun 2020 22:34:58 +0200 Message-Id: <20200612203458.13517-1-mail@hb9fxq.ch> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch fixes a "WARNING: Missing a blank line after declarations" issue found by checkpatch.pl Signed-off-by: Frank Werner-Krippendorf --- security/keys/dh.c | 1 + 1 file changed, 1 insertion(+) diff --git a/security/keys/dh.c b/security/keys/dh.c index c4c629bb1c03..5515f51e62db 100644 --- a/security/keys/dh.c +++ b/security/keys/dh.c @@ -161,6 +161,7 @@ static int kdf_ctr(struct kdf_sdesc *sdesc, const u8 *src, unsigned int slen, if (zlen && h) { u8 tmpbuffer[32]; size_t chunk = min_t(size_t, zlen, sizeof(tmpbuffer)); + memset(tmpbuffer, 0, chunk); do { -- 2.20.1