Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751684AbbGMIZV (ORCPT ); Mon, 13 Jul 2015 04:25:21 -0400 Received: from galahad.ideasonboard.com ([185.26.127.97]:35100 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751139AbbGMIZT convert rfc822-to-8bit (ORCPT ); Mon, 13 Jul 2015 04:25:19 -0400 From: Laurent Pinchart To: Larry Finger , Mauro Carvalho Chehab Cc: LKML Subject: Re: V4.1-RC build error after commit 77a3c6f Date: Mon, 13 Jul 2015 11:25:35 +0300 Message-ID: <3803143.Bo2k5SCl7G@avalon> User-Agent: KMail/4.14.8 (Linux/4.0.5-gentoo; KDE/4.14.8; x86_64; ; ) In-Reply-To: <55A315E4.7090601@lwfinger.net> References: <55A18A48.7030007@lwfinger.net> <15791242.3vaIcGi6Sg@avalon> <55A315E4.7090601@lwfinger.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2331 Lines: 67 Hi Larry, On Sunday 12 July 2015 20:35:32 Larry Finger wrote: > On 07/12/2015 06:10 PM, Laurent Pinchart wrote: > > Hi Larry, > > > > Thank you for the report. > > > > On Saturday 11 July 2015 16:27:36 Larry Finger wrote: > >> Beginning with the commit in the subject, I get the following build error: > >> CC [M] drivers/media/v4l2-core/videobuf2-core.o > >> > >> drivers/media/v4l2-core/videobuf2-core.c: In function > >> ‘vb2_warn_zero_bytesused’: > >> drivers/media/v4l2-core/videobuf2-core.c:1253:2: > >> error: implicit declaration of function ‘__WARN’ > >> [-Werror=implicit-function-declaration] > >> > >> __WARN(); > >> ^ > >> > >> cc1: some warnings being treated as errors > >> > >> My .config is attached. > > > > Indeed, __WARN isn't defined when CONFIG_BUG isn't set. My bad :-/ > > > > I've send a patch to fix this (you've been CC'ed), could you please review > > it ? > > > > And I've just noticed that I forgot to add your Reported-by: tag, please > > feel free to add it to the review. > > I added my "Acked-by:" for the __WARN to WARN_ON part. In addition, the rest > looks good. Thank you. > I do not need a Reported-by to be added. I'm a volunteer, thus it does not > matter how many times my name is mentioned. Another one will never increase > my remuneration. I'm afraid I wouldn't be in a position to increase your remuneration even if you were paid to report issues :-) Still, the point of the Reported-by: tag is recognition of contributors. This topic is currently being discussed as a canditate for the Linux kernel summit (see http://lists.linuxfoundation.org/pipermail/ksummit-discuss/2015-July/001318.html for instance). Feel free to chime in, we mostly have long time kernel maintainers in the e-mail thread, it would be nice to get the point of few of volunteers as well. > I have also submitted a patch to make certain that __WARN is defined even > when CONFIG_DEBUG is not defined. It may not be accepted, but if it does, > no one else will be caught this way. Thank you. -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/