Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1673992 > unrolled thread

Re: [PATCH 3/7] staging: ccree: add support for older HW revisions

Started bykbuild test robot <lkp@intel.com>
First post2017-06-24 05:40 +0200
Last post2017-06-24 05:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 3/7] staging: ccree: add support for older HW revisions kbuild test robot <lkp@intel.com> - 2017-06-24 05:40 +0200

#1673992 — Re: [PATCH 3/7] staging: ccree: add support for older HW revisions

Fromkbuild test robot <lkp@intel.com>
Date2017-06-24 05:40 +0200
SubjectRe: [PATCH 3/7] staging: ccree: add support for older HW revisions
Message-ID<tVK5s-2zS-7@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hi Gilad,

[auto build test WARNING on staging/staging-testing]
[also build test WARNING on next-20170623]
[cannot apply to v4.12-rc6]
[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/Gilad-Ben-Yossef/staging-ccree-bug-fixes-and-TODO-items-for-4-13/20170623-134445
config: x86_64-randconfig-b0-06241039 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All warnings (new ones prefixed by >>):

   drivers/staging/ccree/ssi_sram_mgr.c: In function 'ssi_sram_mgr_init':
>> drivers/staging/ccree/ssi_sram_mgr.c:76: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'dma_addr_t'

vim +76 drivers/staging/ccree/ssi_sram_mgr.c

    60		/* Allocate "this" context */
    61		drvdata->sram_mgr_handle = kzalloc(
    62				sizeof(struct ssi_sram_mgr_ctx), GFP_KERNEL);
    63		if (!drvdata->sram_mgr_handle) {
    64			SSI_LOG_ERR("Not enough memory to allocate SRAM_MGR ctx (%zu)\n",
    65				sizeof(struct ssi_sram_mgr_ctx));
    66			rc = -ENOMEM;
    67			goto out;
    68		}
    69		smgr_ctx = drvdata->sram_mgr_handle;
    70	
    71		if (drvdata->hw_rev < CC_HW_REV_712) {
    72			/* Pool starts after ROM bytes */
    73			start = (dma_addr_t)CC_HAL_READ_REGISTER(CC_REG_OFFSET(HOST_RGF,
    74	HOST_SEP_SRAM_THRESHOLD));
    75			if ((start & 0x3) != 0) {
  > 76				SSI_LOG_ERR("Invalid SRAM offset 0x%x\n", start);
    77				rc = -ENODEV;
    78				goto out;
    79			}
    80		}
    81	
    82		smgr_ctx->sram_free_offset = start;
    83		return 0;
    84	

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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web