Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp584312pxb; Tue, 15 Feb 2022 22:54:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJyiNwUEvfkeJe0swF+cITWysbyYr+PmRAjaVGyBVE2NIfgx3fs53E3lYU1aFOYS52xEuBmP X-Received: by 2002:a65:6201:0:b0:369:4a47:aff1 with SMTP id d1-20020a656201000000b003694a47aff1mr1154538pgv.238.1644994465087; Tue, 15 Feb 2022 22:54:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644994465; cv=none; d=google.com; s=arc-20160816; b=KAodqNO/wDx428ISRlogrCA4rAm6I4nOrzxhxZ5ovIvFxsXUB/EbnJglGczBYVATou G4+rNXUjdqTRE7YRf2s+nbfkMQiqBX3eoER538ETFEcRfjs9a4Qv9P/K/kdf/FTIfhWI +2tLDILOmme3n+warMxEfLMx2ktDb4OP0hJRevj3jgE4QKo33xfnGrtuZTtMO7KdtbDM FK3NPP0+1fojqqHWdWd8JsalvR0hmBBa1nOnAYd+wq/p3lxeuETc2wTXIAl2UVtYFZsH iQYyMYWy/Vm6ZScL8SEM0Wq3y4XiW84eiUgkjBqkXBKgDg3S4V0iRwB4YV+D1zA6ig+b s63A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=oAfQLBPqBZIFt3Cp47X0t1XJQsubFRNVdcfav9nuBHk=; b=t4VRM8xaJWAIB0+gHtRtpT+S6+AQjMZNff7omXgsnzcjKmL34t/6h0nTmCetbmfuML 9EOhf056HWtgWG09geZCZ6jrVleQw2p3yISzDYNHz4opDzddGS1pzuqoVtZWJpJIM8m8 T1rligG6Z97DFYJeyU/5BFRHQVxxplmAQE1Wp5ho8lFQpbl7gTvNeiTXlLjGP7IF3J1U uZag7Qc4ca0xygUSnr+BOL00IzaM5GYUpaCA9IGjVbHx4gJWofCc3KEQNnWqcXDzkpcC CXnIZ2pnMEE/bIaWuELVFTasWutTHLpJUospU0D57gtYQnibF4BCnkwj2Ve02EB+/vee AePA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=T6e9CSbe; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id b15si7405033pll.366.2022.02.15.22.54.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 22:54:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=T6e9CSbe; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 58BF32E0A3; Tue, 15 Feb 2022 22:36:49 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229863AbiBORCO (ORCPT + 99 others); Tue, 15 Feb 2022 12:02:14 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:58596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242080AbiBORCO (ORCPT ); Tue, 15 Feb 2022 12:02:14 -0500 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC5DA119F3C for ; Tue, 15 Feb 2022 09:02:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644944523; x=1676480523; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Z13Y5lNt52SwgdcOjACeM02u4yxevlg0/5f+qMCZWEA=; b=T6e9CSbeOn/MQXH9hgZMCZINDucfgY4fQNSxpkpgk+eptPfd0d4+bUul iPLCdPXuZAuVwohyVYIRjdQ9FrGdbIf+LzXKGc777qLdnojPGrYxMoODu Wfv3sA80MTlRkif3pUb7hMko6yS5Dc3AnmonwdDx9YeztikxMyidcoUhR t5A/kJ8GL4ne3HU7+c7nXDotPpWo0Ma5g7qzNlziC3TidUMe5u8+B4J7/ vjvo3GKrQwwzXo8oW4LgaOoqT/UDaxDFab24XUCyhNCw3QdLiAo5suzZw IU26GuifTFsRZKTj7lOaRV9LMmvYhM8NeI1spvHbTWbsGJPpQmjco7wgp g==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="233938337" X-IronPort-AV: E=Sophos;i="5.88,371,1635231600"; d="scan'208";a="233938337" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 09:02:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,371,1635231600"; d="scan'208";a="528961528" Received: from lkp-server01.sh.intel.com (HELO d95dc2dabeb1) ([10.239.97.150]) by orsmga007.jf.intel.com with ESMTP; 15 Feb 2022 09:02:01 -0800 Received: from kbuild by d95dc2dabeb1 with local (Exim 4.92) (envelope-from ) id 1nK1DE-0009sG-AQ; Tue, 15 Feb 2022 17:02:00 +0000 Date: Wed, 16 Feb 2022 01:01:32 +0800 From: kernel test robot To: Ard Biesheuvel , linux-crypto@vger.kernel.org Cc: kbuild-all@lists.01.org, herbert@gondor.apana.org.au, ebiggers@kernel.org, Ard Biesheuvel Subject: Re: [PATCH] crypto: crypto_xor - use helpers for unaligned accesses Message-ID: <202202160048.w2jucJCP-lkp@intel.com> References: <20220215105717.184572-1-ardb@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220215105717.184572-1-ardb@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hi Ard, I love your patch! Perhaps something to improve: [auto build test WARNING on herbert-cryptodev-2.6/master] [also build test WARNING on herbert-crypto-2.6/master v5.17-rc4 next-20220215] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Ard-Biesheuvel/crypto-crypto_xor-use-helpers-for-unaligned-accesses/20220215-185741 base: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master config: i386-randconfig-a003 (https://download.01.org/0day-ci/archive/20220216/202202160048.w2jucJCP-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce (this is a W=1 build): # https://github.com/0day-ci/linux/commit/6ca2d09816a67230ab30f3c7e7d87815e833d0af git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Ard-Biesheuvel/crypto-crypto_xor-use-helpers-for-unaligned-accesses/20220215-185741 git checkout 6ca2d09816a67230ab30f3c7e7d87815e833d0af # save the config file to linux build tree mkdir build_dir make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/kernel/ drivers/md/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from ./arch/x86/include/generated/asm/unaligned.h:1, from drivers/md/dm-crypt.c:30: drivers/md/dm-crypt.c: In function 'crypt_iv_tcw_whitening': >> include/asm-generic/unaligned.h:14:8: warning: 'buf.x' is used uninitialized in this function [-Wuninitialized] 14 | __pptr->x; \ | ^~ >> include/asm-generic/unaligned.h:14:8: warning: '*((void *)&buf+4).x' is used uninitialized in this function [-Wuninitialized] include/asm-generic/unaligned.h:14:8: warning: '*((void *)&buf+8).x' is used uninitialized in this function [-Wuninitialized] include/asm-generic/unaligned.h:14:8: warning: '*((void *)&buf+12).x' is used uninitialized in this function [-Wuninitialized] vim +14 include/asm-generic/unaligned.h aafe4dbed0bf6c Arnd Bergmann 2009-05-13 11 803f4e1eab7a89 Arnd Bergmann 2021-05-08 12 #define __get_unaligned_t(type, ptr) ({ \ 803f4e1eab7a89 Arnd Bergmann 2021-05-08 13 const struct { type x; } __packed *__pptr = (typeof(__pptr))(ptr); \ 803f4e1eab7a89 Arnd Bergmann 2021-05-08 @14 __pptr->x; \ 803f4e1eab7a89 Arnd Bergmann 2021-05-08 15 }) 803f4e1eab7a89 Arnd Bergmann 2021-05-08 16 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org