From: kbuild test robot <lkp@intel.com>
To: Manjeet Pawar <manjeet.p@samsung.com>
Cc: kbuild-all@01.org, corbet@lwn.net, catalin.marinas@arm.com,
will.deacon@arm.com, konrad.wilk@oracle.com,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, r.thapliyal@samsung.com,
akhilesh.k@samsung.com, ajeet.y@samsung.com,
pankaj.m@samsung.com, Manjeet Pawar <manjeet.p@samsung.com>
Subject: Re: [PATCH] arm64:swiotlb:Enable only when Input size through command line
Date: Thu, 23 Jun 2016 22:38:24 +0800 [thread overview]
Message-ID: <201606232205.lrBeBDtG%fengguang.wu@intel.com> (raw)
In-Reply-To: <1466684020-5224-1-git-send-email-manjeet.p@samsung.com>
[-- Attachment #1: Type: text/plain, Size: 2176 bytes --]
Hi,
[auto build test WARNING on v4.7-rc4]
[cannot apply to arm64/for-next/core next-20160623]
[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/Manjeet-Pawar/arm64-swiotlb-Enable-only-when-Input-size-through-command-line/20160623-205508
config: x86_64-randconfig-i0-201625 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
lib/swiotlb.c: In function 'setup_io_tlb_size':
>> lib/swiotlb.c:131:30: warning: passing argument 2 of 'kstrtoul' makes integer from pointer without a cast [-Wint-conversion]
swiotlb_sz = kstrtoul(str, &str, 0);
^
In file included from include/linux/list.h:8:0,
from include/linux/kobject.h:20,
from include/linux/device.h:17,
from include/linux/dma-mapping.h:6,
from lib/swiotlb.c:21:
include/linux/kernel.h:298:32: note: expected 'unsigned int' but argument is of type 'char **'
static inline int __must_check kstrtoul(const char *s, unsigned int base, unsigned long *res)
^~~~~~~~
vim +/kstrtoul +131 lib/swiotlb.c
115
116 return 0;
117 }
118 early_param("swiotlb", setup_io_tlb_npages);
119
120 static int __init
121 setup_io_tlb_size(char *str)
122 {
123 int len = strlen(str);
124
125 if (str[len-1] == 'M')
126 swiotlb_sz_shift = 20;
127 else if (str[len-1] == 'K')
128 swiotlb_sz_shift = 10;
129 str[len-1] = '\0';
130 if (isdigit(*str))
> 131 swiotlb_sz = kstrtoul(str, &str, 0);
132
133 swiotlb_enabled = 1;
134 return 0;
135 }
136 early_param("swiotlb_sz", setup_io_tlb_size);
137 /* make io_tlb_overflow tunable too? */
138
139 unsigned long swiotlb_nr_tbl(void)
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 28749 bytes --]
prev parent reply other threads:[~2016-06-23 14:40 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-23 12:13 [PATCH] arm64:swiotlb:Enable only when Input size through command line Manjeet Pawar
2016-06-23 12:31 ` Robin Murphy
2016-06-23 14:30 ` Catalin Marinas
2016-06-23 16:06 ` Konrad Rzeszutek Wilk
2016-06-24 2:57 ` Jisheng Zhang
2016-06-24 10:46 ` Konrad Rzeszutek Wilk
2016-06-24 10:53 ` Robin Murphy
2016-06-23 14:38 ` 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=201606232205.lrBeBDtG%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=ajeet.y@samsung.com \
--cc=akhilesh.k@samsung.com \
--cc=catalin.marinas@arm.com \
--cc=corbet@lwn.net \
--cc=kbuild-all@01.org \
--cc=konrad.wilk@oracle.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=manjeet.p@samsung.com \
--cc=pankaj.m@samsung.com \
--cc=r.thapliyal@samsung.com \
--cc=will.deacon@arm.com \
/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).