From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933103AbeD0XiL (ORCPT ); Fri, 27 Apr 2018 19:38:11 -0400 Received: from merlin.infradead.org ([205.233.59.134]:47378 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932700AbeD0XiJ (ORCPT ); Fri, 27 Apr 2018 19:38:09 -0400 Subject: Re: PROBLEM: error due to conflicting types during build of kselftests To: Jeffrin Thalakkottoor , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org References: From: Randy Dunlap Message-ID: Date: Fri, 27 Apr 2018 16:38:02 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/20/2018 11:03 AM, Jeffrin Thalakkottoor wrote: > hello, > > the following is the error found... > ----------------------------------------------------------------------------------- > protection_keys.c:421:5: error: conflicting types for ‘pkey_set’ > int pkey_set(int pkey, unsigned long rights, unsigned long flags) > ^~~~~~~~ > ------------------------------------------------------------------------------------ > > to reproduce this error... > make -C tools/testing/selftests Hi, I can't reproduce this problem. What is your gcc --version? Thanks. > Details about software: > > Linux debian 4.17.0-rc1+ #1 SMP Thu Apr 19 18:59:45 IST 2018 x86_64 GNU/Linux > > GNU Make 4.2.1 > Binutils 2.30 > Util-linux 2.31.1 > Mount 2.31.1 > Linux C Library 2.27 > Dynamic linker (ldd) 2.27 > readlink: missing operand > Try 'readlink --help' for more information. > Procps 3.3.14 > Kbd 2.0.4 > Console-tools 2.0.4 > Sh-utils 8.28 > Udev 238 > -- ~Randy