Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp936024imm; Tue, 3 Jul 2018 02:37:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc/YJ+R/Vdtzz1Fz1zlrnL8qxHW9sOhVIr0/g1Gkx37Hxnj/f9yz/y0rn4lFC12z99DPXcf X-Received: by 2002:a62:e30c:: with SMTP id g12-v6mr2013611pfh.25.1530610653184; Tue, 03 Jul 2018 02:37:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530610653; cv=none; d=google.com; s=arc-20160816; b=L+wMRPaAx6gdag+Ny2sI006DVhzsbdCNpQcb3qcRTLwp0DWhQ7kmMemTdb+mYDhua1 khokvnGdU9IZpJWk5Gxi677ofrPrxU2dLe3QO65nQa9ZcAy5j8XmdFcLksylzl3n18Qf r+rQS93879hHnjHBuNyJpSyrqZmG2XVjALRhfVEj9WGb3Q1M43i17xtGefpS+SuosIyJ 0EIx+AEUDHOkAoaMjEVfhI8qLQ443rvp9pZwuAm8xpwemFMoHjd3g4lD+tazwSuUu5RZ hAAKPiwr67Ija1UBUWw0GEMrsqLsnSNP9qOzXgn0romc5jcLlxYAxz6F3+tF+M/o2I+8 lbmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=4VMaREd31k+VFQ2bvUTjhoVLGjMjm6tRuMqQXZ3wjBg=; b=SSVJ2V6phGOZWuOGcnqA/DO0mN9HgJLOXTWnwGJhpuKhjvVsWEYldI+hn8L3dSK+PI MQdcrfz4UTmhOKu8QAgAT8pqrZmNME2s1xUeBMHn950WO7mjL3o80WVCzLcmqYmixtQe +XkW4mifeDOPBy467oUSB5RgOR7keNzr5gd4SuwveMps6Bu542zNhMBIKJ4YyqfiIod7 uxv7eYOQ1t7YpPYYsDdYxGoTdF4Hdz7BV9rzJqanggX66MBAwZHhqZxW0XZgrxzLjXnY 5XVUdUfp1VU0sk5nKTuqmh7ifr/6CIlPNjd24ZnaaHJstH4COELYtqTIu9lWezb2HzCk tpCw== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 89-v6si699876plc.428.2018.07.03.02.37.16; Tue, 03 Jul 2018 02:37:33 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932950AbeGCJgf (ORCPT + 99 others); Tue, 3 Jul 2018 05:36:35 -0400 Received: from mga03.intel.com ([134.134.136.65]:31768 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753973AbeGCJgd (ORCPT ); Tue, 3 Jul 2018 05:36:33 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jul 2018 02:36:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,302,1526367600"; d="scan'208";a="52269056" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga008.fm.intel.com with ESMTP; 03 Jul 2018 02:36:25 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1faHjU-0007u7-6I; Tue, 03 Jul 2018 17:36:24 +0800 Date: Tue, 3 Jul 2018 17:35:56 +0800 From: kbuild test robot To: Mimi Zohar Cc: kbuild-all@01.org, linux-integrity@vger.kernel.org, Mimi Zohar , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, David Howells , "Luis R . Rodriguez" , Eric Biederman , kexec@lists.infradead.org, Andres Rodriguez , Greg Kroah-Hartman , Ard Biesheuvel , Jeff Vander Stoep , Casey Schaufler , Kees Cook Subject: Re: [PATCH v5 8/8] module: replace the existing LSM hook in init_module Message-ID: <201807031757.qpz6yHPo%fengguang.wu@intel.com> References: <1530542283-26145-9-git-send-email-zohar@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1530542283-26145-9-git-send-email-zohar@linux.vnet.ibm.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: lkp@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mimi, I love your patch! Perhaps something to improve: [auto build test WARNING on integrity/next-integrity] [also build test WARNING on v4.18-rc3 next-20180702] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Mimi-Zohar/kexec-firmware-support-system-wide-policy-requiring-signatures/20180703-011114 base: https://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git next-integrity reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) >> security/loadpin/loadpin.c:178:40: sparse: mixing different enum types security/loadpin/loadpin.c:178:40: int enum kernel_load_data_id versus security/loadpin/loadpin.c:178:40: int enum kernel_read_file_id vim +178 security/loadpin/loadpin.c 175 176 static int loadpin_load_data(enum kernel_load_data_id id) 177 { > 178 return loadpin_read_file(NULL, id); 179 } 180 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation