mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Srikanth Jampala <Jampala.Srikanth@cavium.com>
Cc: kbuild-all@01.org, herbert@gondor.apana.org.au,
	davem@davemloft.net, linux-kernel@vger.kernel.org,
	linux-crypto@vger.kernel.org, George.Cherian@cavium.com,
	Nidadavolu.Murthy@cavium.com, Sreerama.Gadam@cavium.com,
	Ram.Kumar@cavium.com, Jampala.Srikanth@cavium.com
Subject: Re: [PATCH v1 3/3] crypto: cavium - Register the CNN55XX supported crypto algorithms.
Date: Wed, 10 May 2017 22:43:00 +0800	[thread overview]
Message-ID: <201705102230.beRMMvlM%fengguang.wu@intel.com> (raw)
In-Reply-To: <20170510130640.5838-4-Jampala.Srikanth@cavium.com>

[-- Attachment #1: Type: text/plain, Size: 2589 bytes --]

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 25855 bytes --]

      parent reply	other threads:[~2017-05-10 14:43 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-10 13:06 [PATCH v1 0/3] Add support for Cavium CNN55XX crypto adapters Srikanth Jampala
2017-05-10 13:06 ` [PATCH v1 1/3] crypto: cavium - Add support for CNN55XX adapters Srikanth Jampala
2017-05-10 14:38   ` kbuild test robot
2017-05-10 13:06 ` [PATCH v1 2/3] crypto: cavium - Add debugfs support in CNN55XX driver Srikanth Jampala
2017-05-10 13:06 ` [PATCH v1 3/3] crypto: cavium - Register the CNN55XX supported crypto algorithms Srikanth Jampala
2017-05-10 13:56   ` Stephan Müller
2017-05-11 12:18     ` srikanth jampala
2017-05-11 12:22       ` Stephan Müller
2017-05-11 12:40         ` srikanth jampala
2017-05-30 11:58     ` [PATCH v2 0/3] Add support for Cavium CNN55XX crypto adapters Srikanth Jampala
2017-05-30 11:58       ` [PATCH v2 1/3] crypto: cavium - Add support for CNN55XX adapters Srikanth Jampala
2017-05-30 11:58       ` [PATCH v2 2/3] crypto: cavium - Add debugfs support in CNN55XX driver Srikanth Jampala
2017-05-30 11:58       ` [PATCH v2 3/3] crypto: cavium - Register the CNN55XX supported crypto algorithms Srikanth Jampala
2017-06-10  4:18       ` [PATCH v2 0/3] Add support for Cavium CNN55XX crypto adapters Herbert Xu
2017-05-10 14:43   ` kbuild test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201705102230.beRMMvlM%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=George.Cherian@cavium.com \
    --cc=Jampala.Srikanth@cavium.com \
    --cc=Nidadavolu.Murthy@cavium.com \
    --cc=Ram.Kumar@cavium.com \
    --cc=Sreerama.Gadam@cavium.com \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=kbuild-all@01.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®