From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by gnuweeb.org (Postfix) with ESMTPS id 2204B8060F for ; Wed, 3 Aug 2022 05:13:53 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=dbrudube; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659503633; x=1691039633; h=date:from:to:cc:subject:message-id:mime-version; bh=O5EojvPN6N/DT/cah6pxOiMEeRKVEqcOgsYwVZ+IxAQ=; b=dbrudubeQCXk+d91sVk4JWtmhT+IhmroIoC0YLWRqHj3OmP7DD2ie5Dx j49btdGEeeYC1247DRq43xaZbt/WEWDDGgLoc9BikSbSIIi6sFCs7ACCb IFZWcfkrlL9B3Q3Y7ZQmHdxGHNkBz9TQBvYaAAHX6Hlf2xUx0e09vqIRf dlhsydJAHrY+a2/CD8yM0e5aSSw5HFhAJC1JNGCcceqSwIolisurcyhKD r+OmpP9+jdG3T+T7IwJ6eP/dh2Wt8kemyp3LD7k8OQ5dlkaxxX2LlPdR1 JcgPL9CfkRrpLDPUWAc5aSpqNXcw+p0PewmBTn0B9ME20CpKOIPzTXuCo Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10427"; a="269964635" X-IronPort-AV: E=Sophos;i="5.93,213,1654585200"; d="scan'208";a="269964635" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Aug 2022 22:13:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,213,1654585200"; d="scan'208";a="635547240" Received: from lkp-server01.sh.intel.com (HELO e0eace57cfef) ([10.239.97.150]) by orsmga001.jf.intel.com with ESMTP; 02 Aug 2022 22:13:50 -0700 Received: from kbuild by e0eace57cfef with local (Exim 4.96) (envelope-from ) id 1oJ6hZ-000Grb-1X; Wed, 03 Aug 2022 05:13:49 +0000 Date: Wed, 3 Aug 2022 13:13:10 +0800 From: kernel test robot To: "Jason A. Donenfeld" Cc: kbuild-all@lists.01.org, Ammar Faizi , GNU/Weeb Mailing List , linux-kernel@vger.kernel.org Subject: [ammarfaizi2-block:crng/random/jd/vdso 9/9] lib/crypto/chacha.c:28 chacha_permute() warn: inconsistent indenting Message-ID: <202208031320.4h7OAbtq-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-Id: tree: https://github.com/ammarfaizi2/linux-block crng/random/jd/vdso head: 29d7baa1e13b4304df93126e0c8baf56584b720a commit: 29d7baa1e13b4304df93126e0c8baf56584b720a [9/9] random: implement getrandom() in vDSO config: x86_64-randconfig-m001-20220801 (https://download.01.org/0day-ci/archive/20220803/202208031320.4h7OAbtq-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-3) 11.3.0 If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot smatch warnings: lib/crypto/chacha.c:28 chacha_permute() warn: inconsistent indenting vim +28 lib/crypto/chacha.c 1ca1b917940c24c lib/chacha.c Eric Biggers 2018-11-16 24 1ca1b917940c24c lib/chacha.c Eric Biggers 2018-11-16 25 for (i = 0; i < nrounds; i += 2) { 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 26 x[0] += x[4]; x[12] = rol32(x[12] ^ x[0], 16); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 27 x[1] += x[5]; x[13] = rol32(x[13] ^ x[1], 16); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 @28 x[2] += x[6]; x[14] = rol32(x[14] ^ x[2], 16); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 29 x[3] += x[7]; x[15] = rol32(x[15] ^ x[3], 16); e192be9d9a30555 lib/chacha20.c Theodore Ts'o 2016-06-12 30 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 31 x[8] += x[12]; x[4] = rol32(x[4] ^ x[8], 12); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 32 x[9] += x[13]; x[5] = rol32(x[5] ^ x[9], 12); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 33 x[10] += x[14]; x[6] = rol32(x[6] ^ x[10], 12); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 34 x[11] += x[15]; x[7] = rol32(x[7] ^ x[11], 12); e192be9d9a30555 lib/chacha20.c Theodore Ts'o 2016-06-12 35 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 36 x[0] += x[4]; x[12] = rol32(x[12] ^ x[0], 8); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 37 x[1] += x[5]; x[13] = rol32(x[13] ^ x[1], 8); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 38 x[2] += x[6]; x[14] = rol32(x[14] ^ x[2], 8); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 39 x[3] += x[7]; x[15] = rol32(x[15] ^ x[3], 8); e192be9d9a30555 lib/chacha20.c Theodore Ts'o 2016-06-12 40 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 41 x[8] += x[12]; x[4] = rol32(x[4] ^ x[8], 7); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 42 x[9] += x[13]; x[5] = rol32(x[5] ^ x[9], 7); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 43 x[10] += x[14]; x[6] = rol32(x[6] ^ x[10], 7); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 44 x[11] += x[15]; x[7] = rol32(x[7] ^ x[11], 7); e192be9d9a30555 lib/chacha20.c Theodore Ts'o 2016-06-12 45 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 46 x[0] += x[5]; x[15] = rol32(x[15] ^ x[0], 16); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 47 x[1] += x[6]; x[12] = rol32(x[12] ^ x[1], 16); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 48 x[2] += x[7]; x[13] = rol32(x[13] ^ x[2], 16); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 49 x[3] += x[4]; x[14] = rol32(x[14] ^ x[3], 16); e192be9d9a30555 lib/chacha20.c Theodore Ts'o 2016-06-12 50 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 51 x[10] += x[15]; x[5] = rol32(x[5] ^ x[10], 12); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 52 x[11] += x[12]; x[6] = rol32(x[6] ^ x[11], 12); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 53 x[8] += x[13]; x[7] = rol32(x[7] ^ x[8], 12); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 54 x[9] += x[14]; x[4] = rol32(x[4] ^ x[9], 12); e192be9d9a30555 lib/chacha20.c Theodore Ts'o 2016-06-12 55 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 56 x[0] += x[5]; x[15] = rol32(x[15] ^ x[0], 8); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 57 x[1] += x[6]; x[12] = rol32(x[12] ^ x[1], 8); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 58 x[2] += x[7]; x[13] = rol32(x[13] ^ x[2], 8); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 59 x[3] += x[4]; x[14] = rol32(x[14] ^ x[3], 8); e192be9d9a30555 lib/chacha20.c Theodore Ts'o 2016-06-12 60 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 61 x[10] += x[15]; x[5] = rol32(x[5] ^ x[10], 7); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 62 x[11] += x[12]; x[6] = rol32(x[6] ^ x[11], 7); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 63 x[8] += x[13]; x[7] = rol32(x[7] ^ x[8], 7); 7660b1fb367eb37 lib/chacha20.c Eric Biggers 2017-12-31 64 x[9] += x[14]; x[4] = rol32(x[4] ^ x[9], 7); e192be9d9a30555 lib/chacha20.c Theodore Ts'o 2016-06-12 65 } dd333449d0fb667 lib/chacha20.c Eric Biggers 2018-11-16 66 } dd333449d0fb667 lib/chacha20.c Eric Biggers 2018-11-16 67 :::::: The code at line 28 was first introduced by commit :::::: 7660b1fb367eb3723b48d3980451fc4f25a05021 crypto: chacha20 - use rol32() macro from bitops.h :::::: TO: Eric Biggers :::::: CC: Herbert Xu -- 0-DAY CI Kernel Test Service https://01.org/lkp