linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: George Cherian <george.cherian@cavium.com>
Cc: kbuild-all@01.org, herbert@gondor.apana.org.au,
	davem@davemloft.net, david.daney@cavium.com,
	clabbe.montjoie@gmail.com, linux-kernel@vger.kernel.org,
	linux-crypto@vger.kernel.org,
	George Cherian <george.cherian@cavium.com>
Subject: Re: [PATCH v4 3/3] drivers: crypto: Enable CPT options crypto for build
Date: Thu, 12 Jan 2017 22:04:55 +0800	[thread overview]
Message-ID: <201701122124.4kerozQv%fengguang.wu@intel.com> (raw)
In-Reply-To: <1484132211-917-4-git-send-email-george.cherian@cavium.com>

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

Hi George,

[auto build test WARNING on v4.9-rc8]
[cannot apply to cryptodev/master crypto/master sparc-next/master next-20170111]
[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/George-Cherian/Add-Support-for-Cavium-Cryptographic-Acceleration-Unit/20170112-192240
config: parisc-allyesconfig (attached as .config)
compiler: hppa-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=parisc 

All warnings (new ones prefixed by >>):

   drivers/crypto/cavium/cpt/cptvf_reqmanager.c: In function 'process_request':
>> drivers/crypto/cavium/cpt/cptvf_reqmanager.c:470:49: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=]
      dev_err(&pdev->dev, "mapping compptr Failed %lu\n",
                                                    ^

vim +470 drivers/crypto/cavium/cpt/cptvf_reqmanager.c

8413476d George Cherian 2017-01-11  454  		goto request_cleanup;
8413476d George Cherian 2017-01-11  455  	}
8413476d George Cherian 2017-01-11  456  
8413476d George Cherian 2017-01-11  457  	cpt_req->dlen = info->dlen;
8413476d George Cherian 2017-01-11  458  	/*
8413476d George Cherian 2017-01-11  459  	 * Get buffer for union cpt_res_s response
8413476d George Cherian 2017-01-11  460  	 * structure and its physical address
8413476d George Cherian 2017-01-11  461  	 */
8413476d George Cherian 2017-01-11  462  	info->completion_addr = kzalloc(sizeof(union cpt_res_s),
8413476d George Cherian 2017-01-11  463  					     GFP_KERNEL | GFP_ATOMIC);
8413476d George Cherian 2017-01-11  464  	*((u8 *)(info->completion_addr)) = COMPLETION_CODE_INIT;
8413476d George Cherian 2017-01-11  465  	info->comp_baddr = dma_map_single(&pdev->dev,
8413476d George Cherian 2017-01-11  466  					       (void *)info->completion_addr,
8413476d George Cherian 2017-01-11  467  					       sizeof(union cpt_res_s),
8413476d George Cherian 2017-01-11  468  					       DMA_BIDIRECTIONAL);
8413476d George Cherian 2017-01-11  469  	if (dma_mapping_error(&pdev->dev, info->comp_baddr)) {
8413476d George Cherian 2017-01-11 @470  		dev_err(&pdev->dev, "mapping compptr Failed %lu\n",
8413476d George Cherian 2017-01-11  471  			sizeof(union cpt_res_s));
8413476d George Cherian 2017-01-11  472  		ret = -EFAULT;
8413476d George Cherian 2017-01-11  473  		goto  request_cleanup;
8413476d George Cherian 2017-01-11  474  	}
8413476d George Cherian 2017-01-11  475  
8413476d George Cherian 2017-01-11  476  	/* Fill the VQ command */
8413476d George Cherian 2017-01-11  477  	vq_cmd.cmd.u64 = 0;
8413476d George Cherian 2017-01-11  478  	vq_cmd.cmd.s.opcode = cpu_to_be16(cpt_req->opcode.flags);

:::::: The code at line 470 was first introduced by commit
:::::: 8413476deed83359518ea36cc316f4669a8c521c drivers: crypto: Add the Virtual Function driver for CPT

:::::: TO: George Cherian <george.cherian@cavium.com>
:::::: CC: 0day robot <fengguang.wu@intel.com>

---
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: 47592 bytes --]

      parent reply	other threads:[~2017-01-12 14:05 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-11 10:56 [PATCH v4 0/3] Add Support for Cavium Cryptographic Acceleration Unit George Cherian
2017-01-11 10:56 ` [PATCH v4 1/3] drivers: crypto: Add Support for Octeon-tx CPT Engine George Cherian
2017-01-11 10:56 ` [PATCH v4 2/3] drivers: crypto: Add the Virtual Function driver for CPT George Cherian
2017-01-11 11:12   ` Stephan Müller
2017-01-11 11:28     ` George Cherian
2017-01-11 12:39       ` Stephan Müller
2017-01-12 11:10         ` George Cherian
2017-01-12 11:19           ` Stephan Müller
2017-01-12 11:20             ` George Cherian
2017-01-11 10:56 ` [PATCH v4 3/3] drivers: crypto: Enable CPT options crypto for build George Cherian
2017-01-12 12:40   ` kbuild test robot
2017-01-12 13:38   ` kbuild test robot
2017-01-12 13:38   ` [PATCH] drivers: crypto: fix ifnullfree.cocci warnings kbuild test robot
2017-01-12 14:04   ` 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=201701122124.4kerozQv%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=clabbe.montjoie@gmail.com \
    --cc=davem@davemloft.net \
    --cc=david.daney@cavium.com \
    --cc=george.cherian@cavium.com \
    --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;
as well as URLs for NNTP newsgroup(s).