Received: by 10.192.165.148 with SMTP id m20csp1284695imm; Fri, 27 Apr 2018 16:39:31 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpSdLM20S/X+bVWfrFdRxhUIsi83g+MI53qhkjthb6dsnJcPXQ4pjh51OEuj2w242WycjNw X-Received: by 2002:a17:902:708a:: with SMTP id z10-v6mr2229748plk.283.1524872371321; Fri, 27 Apr 2018 16:39:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524872371; cv=none; d=google.com; s=arc-20160816; b=vmkXJzvwfOSY0CadiT+nBaWPf/u1OG6kZMlwAsNgiXB7w69rvs8DQPY3dtqjwTRZjX 7WBWSwC4Ck9CuFQixRiw9hhNd/eXjxIAkAZOvKmfluyvzRZf/zYATcIjwve+5pmkNBYw NOfxW9QXGuMhmGe4bmGBSqWl+D/AGE6gdfuS2mJMow38mhTwmu252sg163vhndpC6lix d7Leyf+iTRyMxb/wWZVLiAbhWxUg9FpQOWB6xG4TCa++Von1HVNIrde2B4HZO1mmWp4q poYzrr111/wj5YLyrEWPJA3LFbBBnq3v8f11oXjadOt5U+NGS7f1V8MmTBhd4ThpjVFp pZAw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature :arc-authentication-results; bh=wE5aH39ikhjjCeRSAZFo/8V3ey+OAjaLi3NwVE/l5MU=; b=H/L1VozxyTLjIkPE+1RwL8i8TL1x4l8MEoA3gRjqgxmnesUp3lW5ovmcnEbu4XCfrt t2o/XmqEsNDy9QUxXIX256deGZDlBfwU7ieqISY4K+5XoHDECd+eSGG1At6u2hXoSOuw eys1uZvaXuR/dqkebe1weBWGphKd3lAkLWa8kasbU1NUBt/ortgph5JY1ioRvRUPPD0L o7gIsNnn/8NQ7hw6LQCVGDzKCHozc76Ir2ttbRdr8c9jnE4fIA/nI7aJhGLYFABLg38P nHT2ITGDHdW4StCebCAPKeVU7EHXKQ8i/IelHsp9rEczedWYwGQNyVsv6XSda0mmunid k5LA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=z/iE4YEg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g12-v6si1889879plo.406.2018.04.27.16.39.16; Fri, 27 Apr 2018 16:39:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=z/iE4YEg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933089AbeD0XiL (ORCPT + 99 others); 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 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=wE5aH39ikhjjCeRSAZFo/8V3ey+OAjaLi3NwVE/l5MU=; b=z/iE4YEgyrsQAsOZDozhpBSmqx S80BRYeo/jPAsKIdRAsPU6R2jeuB+qj53gyBdkoR1w82MZoCqLTo2ZA6+j8rvd+6UMCHpb5rq95J5 B13wSjL2+7Sq05vuK7FpwyWnHEx9FnnR/q8YPuCKWlR8azMcQQC6R5U3kkVngFldpEPNKPPOeGDas /IUK0agwJAh9KHI/5zeG8W5EL5GWpP9IRHT2onQxcHA5LZtThXDODEX0XGXOrYs1NTi3tRgzuIddi X5+2AP2ICIFMD7MfMumSVne1dU1+PmL1mfLrSnSZDIPQTVz6CG6pknYX6LAXKaYrGIslSEQ2HgfGZ VFHthbww==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=dragon.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fCCwJ-0000Bg-Ew; Fri, 27 Apr 2018 23:38:07 +0000 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 Precedence: bulk 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