From owner-svn-src-all@freebsd.org Wed May 22 07:25:18 2019 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 65BC415A32E2; Wed, 22 May 2019 07:25:18 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F2D457053D; Wed, 22 May 2019 07:25:17 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [176.74.212.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id CB88E260298; Wed, 22 May 2019 09:25:15 +0200 (CEST) Subject: Re: svn commit: r348089 - stable/12/sys/compat/linuxkpi/common/include/linux To: Johannes Lundberg , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org References: <201905220410.x4M4AOma053075@repo.freebsd.org> From: Hans Petter Selasky Message-ID: <8dba7fb5-daf0-0764-2bde-1b8c30131b4b@selasky.org> Date: Wed, 22 May 2019 09:24:45 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <201905220410.x4M4AOma053075@repo.freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: F2D457053D X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.91 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.91)[-0.914,0] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2019 07:25:18 -0000 On 2019-05-22 06:10, Johannes Lundberg wrote: > Author: johalun > Date: Wed May 22 04:10:24 2019 > New Revision: 348089 > URL: https://svnweb.freebsd.org/changeset/base/348089 > > Log: > MFC r347621: > LinuxKPI: Add get_random_u32 function. > > This patch is part of D19565 > > Reviewed by: hps > Approved by: imp (mentor), hps > > Modified: > stable/12/sys/compat/linuxkpi/common/include/linux/random.h > Directory Properties: > stable/12/ (props changed) > > Modified: stable/12/sys/compat/linuxkpi/common/include/linux/random.h > ============================================================================== > --- stable/12/sys/compat/linuxkpi/common/include/linux/random.h Wed May 22 04:08:45 2019 (r348088) > +++ stable/12/sys/compat/linuxkpi/common/include/linux/random.h Wed May 22 04:10:24 2019 (r348089) > @@ -35,6 +35,8 @@ > #include > #include > > +#define get_random_u32() get_random_int() > + > static inline void > get_random_bytes(void *buf, int nbytes) > { > > Please also MFC your patches to FreeBSD -11 . --HPS