From owner-freebsd-current@freebsd.org Fri Jan 19 21:17:48 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E6FD9EC8F54 for ; Fri, 19 Jan 2018 21:17:48 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from c.mail.sonic.net (c.mail.sonic.net [64.142.111.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D36F975FDD for ; Fri, 19 Jan 2018 21:17:48 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from helicon.physics.ucla.edu (helicon.physics.ucla.edu [169.232.156.253]) (authenticated bits=0) by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id w0JLHdXv015815 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Fri, 19 Jan 2018 13:17:40 -0800 Subject: Re: Bug in /usr/src/sys/sys/sf_buf.h? To: freebsd-current@freebsd.org References: <20180119221615.2ff5cfa4@zeta.dino.sk> From: Nathan Whitehorn Message-ID: <947237b5-b488-433e-3011-1d450bf5fa12@freebsd.org> Date: Fri, 19 Jan 2018 13:17:38 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <20180119221615.2ff5cfa4@zeta.dino.sk> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Sonic-CAuth: UmFuZG9tSVZy5YYZzruWIcKSP96nU05o/abEr2bmXo+rYbrG5jivN/wj6VUlOp+87hDmvbGYpWJMpWENeg/9+Zt47AFiS9Ihdtd4qQtFxVw= X-Sonic-ID: C;AsLDLV795xGAX9zi2dYaJA== M;gOadLl795xGAX9zi2dYaJA== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jan 2018 21:17:49 -0000 This is my fault. Apologies. I will fix it immediately. -Nathan On 01/19/18 13:16, Milan Obuch wrote: > Hi, > > after updating to revision 328171, building 12-CURRENT kernel gives > > cc -target armv7-gnueabihf-freebsd12.0 > --sysroot=/usr/obj/usr/src/arm.armv7/tmp > -B/usr/obj/usr/src/arm.armv7/tmp/usr/bin -c -O -pipe -g -nostdinc -I. > -I/usr/src/sys -I/usr/src/sys/contrib/libfdt > -I/usr/src/sys/gnu/dts/include -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS > -include opt_global.h -march=armv7a -funwind-tables -MD > -MF.depend.md.o -MTmd.o -ffreestanding -fwrapv -gdwarf-2 -Wall > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ > -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas > -Wno-error-tautological-compare -Wno-error-empty-body > -Wno-error-parentheses-equality -Wno-error-unused-function > -Wno-error-pointer-sign -Wno-error-shift-negative-value > -Wno-error-address-of-packed-member -mfpu=none -std=iso9899:1999 > -Werror /usr/src/sys/dev/md/md.c > > In file included from /usr/src/sys/dev/md/md.c:90: > > /usr/src/sys/sys/sf_buf.h:120:11: error: implicit declaration of > function 'PHYS_TO_DMAP' is invalid in C99 > [-Werror,-Wimplicit-function-declaration] > > return (PHYS_TO_DMAP(VM_PAGE_TO_PHYS((vm_page_t)sf))); > > ^ > > /usr/src/sys/sys/sf_buf.h:120:11: error: this function declaration is > not a prototype [-Werror,-Wstrict-prototypes] > > 2 errors generated. > > Did a bug slipped in or am I doing something wrong? With revision > 328159 nothing like this happened, and I see in svn update output > file /sys/sys/sf_buf.h being updated whne updating sources to revision > 328171. > > Regards, > Milan > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >