lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 10 May 2017 22:43:00 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Srikanth Jampala <Jampala.Srikanth@...ium.com>
Cc:     kbuild-all@...org, herbert@...dor.apana.org.au,
        davem@...emloft.net, linux-kernel@...r.kernel.org,
        linux-crypto@...r.kernel.org, George.Cherian@...ium.com,
        Nidadavolu.Murthy@...ium.com, Sreerama.Gadam@...ium.com,
        Ram.Kumar@...ium.com, Jampala.Srikanth@...ium.com
Subject: Re: [PATCH v1 3/3] crypto: cavium - Register the CNN55XX supported
 crypto algorithms.

Hi Srikanth,

[auto build test WARNING on cryptodev/master]
[also build test WARNING on next-20170510]
[cannot apply to v4.11]
[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/Srikanth-Jampala/crypto-cavium-Add-support-for-CNN55XX-adapters/20170510-211638
base:   https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master
config: i386-defconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

All warnings (new ones prefixed by >>):

   In file included from drivers/crypto/cavium/nitrox/nitrox_algs.c:12:0:
   drivers/crypto/cavium/nitrox/nitrox_dev.h: In function 'nitrox_read_csr':
   drivers/crypto/cavium/nitrox/nitrox_dev.h:159:9: error: implicit declaration of function 'readq' [-Werror=implicit-function-declaration]
     return readq(ndev->bar_addr + offset);
            ^~~~~
   drivers/crypto/cavium/nitrox/nitrox_dev.h: In function 'nitrox_write_csr':
   drivers/crypto/cavium/nitrox/nitrox_dev.h:171:2: error: implicit declaration of function 'writeq' [-Werror=implicit-function-declaration]
     writeq(value, (ndev->bar_addr + offset));
     ^~~~~~
   drivers/crypto/cavium/nitrox/nitrox_algs.c: In function 'nitrox_ablkcipher_exit':
>> drivers/crypto/cavium/nitrox/nitrox_algs.c:117:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      crypto_free_context((void *)inst->u.ctx_handle);
                          ^
   cc1: some warnings being treated as errors

vim +117 drivers/crypto/cavium/nitrox/nitrox_algs.c

   101		ctx = crypto_alloc_context(inst->ndev);
   102		if (!ctx) {
   103			nitrox_put_device(inst->ndev);
   104			return -ENOMEM;
   105		}
   106		inst->u.ctx_handle = (uintptr_t)ctx;
   107	
   108		return 0;
   109	}
   110	
   111	static void nitrox_ablkcipher_exit(struct crypto_tfm *tfm)
   112	{
   113		struct nitrox_crypto_instance *inst = crypto_tfm_ctx(tfm);
   114	
   115		/* free the crypto context */
   116		if (inst->u.ctx_handle)
 > 117			crypto_free_context((void *)inst->u.ctx_handle);
   118	
   119		nitrox_put_device(inst->ndev);
   120	
   121		inst->u.ctx_handle = 0;
   122		inst->ndev = NULL;
   123	}
   124	
   125	static inline int nitrox_ablkcipher_setkey(struct crypto_ablkcipher *cipher,

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/gzip" (25855 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ