fs/nfs/fs_context.c:1219 nfs_fs_context_validate() warn: inconsistent indenting
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: e644645abf4788e919beeb97925fb6bf43e890a2
commit: b24ee6c64ca785739b3ef8d95fd6becaad1bde39 NFS: allow deprecation of NFS UDP protocol
date: 4 months ago
config: x86_64-defconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build):
git checkout b24ee6c64ca785739b3ef8d95fd6becaad1bde39
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
smatch warnings:
fs/nfs/fs_context.c:1219 nfs_fs_context_validate() warn: inconsistent indenting
vim +1219 fs/nfs/fs_context.c
1154
1155 /*
1156 * Validate the preparsed information in the config.
1157 */
1158 static int nfs_fs_context_validate(struct fs_context *fc)
1159 {
1160 struct nfs_fs_context *ctx = nfs_fc2context(fc);
1161 struct nfs_subversion *nfs_mod;
1162 struct sockaddr *sap = (struct sockaddr *)&ctx->nfs_server.address;
1163 int max_namelen = PAGE_SIZE;
1164 int max_pathlen = NFS_MAXPATHLEN;
1165 int port = 0;
1166 int ret;
1167
1168 if (!fc->source)
1169 goto out_no_device_name;
1170
1171 /* Check for sanity first. */
1172 if (ctx->minorversion && ctx->version != 4)
1173 goto out_minorversion_mismatch;
1174
1175 if (ctx->options & NFS_OPTION_MIGRATION &&
1176 (ctx->version != 4 || ctx->minorversion != 0))
1177 goto out_migration_misuse;
1178
1179 /* Verify that any proto=/mountproto= options match the address
1180 * families in the addr=/mountaddr= options.
1181 */
1182 if (ctx->protofamily != AF_UNSPEC &&
1183 ctx->protofamily != ctx->nfs_server.address.sa_family)
1184 goto out_proto_mismatch;
1185
1186 if (ctx->mountfamily != AF_UNSPEC) {
1187 if (ctx->mount_server.addrlen) {
1188 if (ctx->mountfamily != ctx->mount_server.address.sa_family)
1189 goto out_mountproto_mismatch;
1190 } else {
1191 if (ctx->mountfamily != ctx->nfs_server.address.sa_family)
1192 goto out_mountproto_mismatch;
1193 }
1194 }
1195
1196 if (!nfs_verify_server_address(sap))
1197 goto out_no_address;
1198
1199 if (ctx->version == 4) {
1200 if (IS_ENABLED(CONFIG_NFS_V4)) {
1201 if (ctx->nfs_server.protocol == XPRT_TRANSPORT_RDMA)
1202 port = NFS_RDMA_PORT;
1203 else
1204 port = NFS_PORT;
1205 max_namelen = NFS4_MAXNAMLEN;
1206 max_pathlen = NFS4_MAXPATHLEN;
1207 nfs_validate_transport_protocol(ctx);
1208 if (ctx->nfs_server.protocol == XPRT_TRANSPORT_UDP)
1209 goto out_invalid_transport_udp;
1210 ctx->flags &= ~(NFS_MOUNT_NONLM | NFS_MOUNT_NOACL |
1211 NFS_MOUNT_VER3 | NFS_MOUNT_LOCAL_FLOCK |
1212 NFS_MOUNT_LOCAL_FCNTL);
1213 } else {
1214 goto out_v4_not_compiled;
1215 }
1216 } else {
1217 nfs_set_mount_transport_protocol(ctx);
1218 #ifdef CONFIG_NFS_DISABLE_UDP_SUPPORT
> 1219 if (ctx->nfs_server.protocol == XPRT_TRANSPORT_UDP)
1220 goto out_invalid_transport_udp;
1221 #endif
1222 if (ctx->nfs_server.protocol == XPRT_TRANSPORT_RDMA)
1223 port = NFS_RDMA_PORT;
1224 }
1225
1226 nfs_set_port(sap, &ctx->nfs_server.port, port);
1227
1228 ret = nfs_parse_source(fc, max_namelen, max_pathlen);
1229 if (ret < 0)
1230 return ret;
1231
1232 /* Load the NFS protocol module if we haven't done so yet */
1233 if (!ctx->nfs_mod) {
1234 nfs_mod = get_nfs_version(ctx->version);
1235 if (IS_ERR(nfs_mod)) {
1236 ret = PTR_ERR(nfs_mod);
1237 goto out_version_unavailable;
1238 }
1239 ctx->nfs_mod = nfs_mod;
1240 }
1241 return 0;
1242
1243 out_no_device_name:
1244 return nfs_invalf(fc, "NFS: Device name not specified");
1245 out_v4_not_compiled:
1246 nfs_errorf(fc, "NFS: NFSv4 is not compiled into kernel");
1247 return -EPROTONOSUPPORT;
1248 out_invalid_transport_udp:
1249 return nfs_invalf(fc, "NFSv4: Unsupported transport protocol udp");
1250 out_no_address:
1251 return nfs_invalf(fc, "NFS: mount program didn't pass remote address");
1252 out_mountproto_mismatch:
1253 return nfs_invalf(fc, "NFS: Mount server address does not match mountproto= option");
1254 out_proto_mismatch:
1255 return nfs_invalf(fc, "NFS: Server address does not match proto= option");
1256 out_minorversion_mismatch:
1257 return nfs_invalf(fc, "NFS: Mount option vers=%u does not support minorversion=%u",
1258 ctx->version, ctx->minorversion);
1259 out_migration_misuse:
1260 return nfs_invalf(fc, "NFS: 'Migration' not supported for this NFS version");
1261 out_version_unavailable:
1262 nfs_errorf(fc, "NFS: Version unavailable");
1263 return ret;
1264 }
1265
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
Re: [net-next v4 01/12] Implementation of Virtual Bus
by kbuild test robot
In-Reply-To: <20200520070227.3392100-2-jeffrey.t.kirsher(a)intel.com>
References: <20200520070227.3392100-2-jeffrey.t.kirsher(a)intel.com>
TO: Jeff Kirsher <jeffrey.t.kirsher(a)intel.com>
Hi Jeff,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on net-next/master]
[also build test WARNING on asoc/for-next kbuild/for-next rdma/for-next linus/master v5.7-rc6 next-20200521]
[cannot apply to jkirsher-next-queue/dev-queue]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Jeff-Kirsher/100GbE-Intel-Wired-...
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 4f65e2f483b6f764c15094d14dd53dda048a4048
config: x86_64-randconfig-a015-20200521 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 3393cc4cebf9969db94dc424b7a2b6195589c33b)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
>> drivers/bus/virtual_bus.o: warning: objtool: __llvm_gcov_writeout()+0x7: call without frame pointer save/setup
>> drivers/bus/virtual_bus.o: warning: objtool: __llvm_gcov_reset()+0x0: call without frame pointer save/setup
>> drivers/bus/virtual_bus.o: warning: objtool: __llvm_gcov_flush()+0x0: call without frame pointer save/setup
>> drivers/bus/virtual_bus.o: warning: objtool: __llvm_gcov_init()+0x0: call without frame pointer save/setup
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
[dgc-xfs:xfs-async-inode-reclaim 2/30] fs/xfs/xfs_trans.c:617:31: warning: comparison of unsigned expression >= 0 is always true
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/dgc/linux-xfs.git xfs-async-inode-reclaim
head: a6b06a056446a604d909fd24f24c78f08f5be671
commit: 624f30f880223745ed1ce2de69f15b53e9ac1ea5 [2/30] xfs: gut error handling in xfs_trans_unreserve_and_mod_sb()
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build):
git checkout 624f30f880223745ed1ce2de69f15b53e9ac1ea5
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
In file included from include/linux/string.h:6:0,
from include/linux/uuid.h:12,
from fs/xfs/xfs_linux.h:10,
from fs/xfs/xfs.h:22,
from fs/xfs/xfs_trans.c:7:
fs/xfs/xfs_trans.c: In function 'xfs_trans_unreserve_and_mod_sb':
>> fs/xfs/xfs_trans.c:617:31: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
ASSERT(mp->m_sb.sb_frextents >= 0);
^
include/linux/compiler.h:77:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
fs/xfs/xfs_trans.c:617:2: note: in expansion of macro 'ASSERT'
ASSERT(mp->m_sb.sb_frextents >= 0);
^~~~~~
fs/xfs/xfs_trans.c:618:29: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
ASSERT(mp->m_sb.sb_dblocks >= 0);
^
include/linux/compiler.h:77:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
fs/xfs/xfs_trans.c:618:2: note: in expansion of macro 'ASSERT'
ASSERT(mp->m_sb.sb_dblocks >= 0);
^~~~~~
fs/xfs/xfs_trans.c:619:29: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
ASSERT(mp->m_sb.sb_agcount >= 0);
^
include/linux/compiler.h:77:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
fs/xfs/xfs_trans.c:619:2: note: in expansion of macro 'ASSERT'
ASSERT(mp->m_sb.sb_agcount >= 0);
^~~~~~
fs/xfs/xfs_trans.c:621:30: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
ASSERT(mp->m_sb.sb_rextsize >= 0);
^
include/linux/compiler.h:77:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
fs/xfs/xfs_trans.c:621:2: note: in expansion of macro 'ASSERT'
ASSERT(mp->m_sb.sb_rextsize >= 0);
^~~~~~
fs/xfs/xfs_trans.c:622:31: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
ASSERT(mp->m_sb.sb_rbmblocks >= 0);
^
include/linux/compiler.h:77:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
fs/xfs/xfs_trans.c:622:2: note: in expansion of macro 'ASSERT'
ASSERT(mp->m_sb.sb_rbmblocks >= 0);
^~~~~~
fs/xfs/xfs_trans.c:623:29: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
ASSERT(mp->m_sb.sb_rblocks >= 0);
^
include/linux/compiler.h:77:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
fs/xfs/xfs_trans.c:623:2: note: in expansion of macro 'ASSERT'
ASSERT(mp->m_sb.sb_rblocks >= 0);
^~~~~~
fs/xfs/xfs_trans.c:624:30: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
ASSERT(mp->m_sb.sb_rextents >= 0);
^
include/linux/compiler.h:77:40: note: in definition of macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
fs/xfs/xfs_trans.c:624:2: note: in expansion of macro 'ASSERT'
ASSERT(mp->m_sb.sb_rextents >= 0);
^~~~~~
vim +617 fs/xfs/xfs_trans.c
536
537 /*
538 * xfs_trans_unreserve_and_mod_sb() is called to release unused reservations and
539 * apply superblock counter changes to the in-core superblock. The
540 * t_res_fdblocks_delta and t_res_frextents_delta fields are explicitly NOT
541 * applied to the in-core superblock. The idea is that that has already been
542 * done.
543 *
544 * If we are not logging superblock counters, then the inode allocated/free and
545 * used block counts are not updated in the on disk superblock. In this case,
546 * XFS_TRANS_SB_DIRTY will not be set when the transaction is updated but we
547 * still need to update the incore superblock with the changes.
548 */
549 void
550 xfs_trans_unreserve_and_mod_sb(
551 struct xfs_trans *tp)
552 {
553 struct xfs_mount *mp = tp->t_mountp;
554 bool rsvd = (tp->t_flags & XFS_TRANS_RESERVE) != 0;
555 int64_t blkdelta = 0;
556 int64_t rtxdelta = 0;
557 int64_t idelta = 0;
558 int64_t ifreedelta = 0;
559 int error;
560
561 /* calculate deltas */
562 if (tp->t_blk_res > 0)
563 blkdelta = tp->t_blk_res;
564 if ((tp->t_fdblocks_delta != 0) &&
565 (xfs_sb_version_haslazysbcount(&mp->m_sb) ||
566 (tp->t_flags & XFS_TRANS_SB_DIRTY)))
567 blkdelta += tp->t_fdblocks_delta;
568
569 if (tp->t_rtx_res > 0)
570 rtxdelta = tp->t_rtx_res;
571 if ((tp->t_frextents_delta != 0) &&
572 (tp->t_flags & XFS_TRANS_SB_DIRTY))
573 rtxdelta += tp->t_frextents_delta;
574
575 if (xfs_sb_version_haslazysbcount(&mp->m_sb) ||
576 (tp->t_flags & XFS_TRANS_SB_DIRTY)) {
577 idelta = tp->t_icount_delta;
578 ifreedelta = tp->t_ifree_delta;
579 }
580
581 /* apply the per-cpu counters */
582 if (blkdelta) {
583 error = xfs_mod_fdblocks(mp, blkdelta, rsvd);
584 ASSERT(!error);
585 }
586
587 if (idelta) {
588 error = xfs_mod_icount(mp, idelta);
589 ASSERT(!error);
590 }
591
592 if (ifreedelta) {
593 error = xfs_mod_ifree(mp, ifreedelta);
594 ASSERT(!error);
595 }
596
597 if (rtxdelta == 0 && !(tp->t_flags & XFS_TRANS_SB_DIRTY))
598 return;
599
600 /* apply remaining deltas */
601 spin_lock(&mp->m_sb_lock);
602 mp->m_sb.sb_frextents += rtxdelta;
603 mp->m_sb.sb_dblocks += tp->t_dblocks_delta;
604 mp->m_sb.sb_agcount += tp->t_agcount_delta;
605 mp->m_sb.sb_imax_pct += tp->t_imaxpct_delta;
606 mp->m_sb.sb_rextsize += tp->t_rextsize_delta;
607 mp->m_sb.sb_rbmblocks += tp->t_rbmblocks_delta;
608 mp->m_sb.sb_rblocks += tp->t_rblocks_delta;
609 mp->m_sb.sb_rextents += tp->t_rextents_delta;
610 mp->m_sb.sb_rextslog += tp->t_rextslog_delta;
611 spin_unlock(&mp->m_sb_lock);
612
613 /*
614 * Debug checks outside of the spinlock so they don't lock up the
615 * machine if they fail.
616 */
> 617 ASSERT(mp->m_sb.sb_frextents >= 0);
618 ASSERT(mp->m_sb.sb_dblocks >= 0);
619 ASSERT(mp->m_sb.sb_agcount >= 0);
620 ASSERT(mp->m_sb.sb_imax_pct >= 0);
621 ASSERT(mp->m_sb.sb_rextsize >= 0);
622 ASSERT(mp->m_sb.sb_rbmblocks >= 0);
623 ASSERT(mp->m_sb.sb_rblocks >= 0);
624 ASSERT(mp->m_sb.sb_rextents >= 0);
625 ASSERT(mp->m_sb.sb_rextslog >= 0);
626 return;
627 }
628
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
[linux-next:master 4045/12102] include/linux/printk.h:295:9: note: in expansion of macro 'KERN_ALERT'
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: c11d28ab4a691736e30b49813fb801847bd44e83
commit: f87dc808009ac86c790031627698ef1a34c31e25 [4045/12102] rcuperf: Add ability to increase object allocation size
config: i386-debian-10.3 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build):
git checkout f87dc808009ac86c790031627698ef1a34c31e25
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
In file included from include/linux/printk.h:7:0,
from include/linux/kernel.h:15,
from kernel/rcu/rcuperf.c:13:
kernel/rcu/rcuperf.c: In function 'kfree_perf_init':
include/linux/kern_levels.h:5:18: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'unsigned int' [-Wformat=]
#define KERN_SOH "001" /* ASCII Start Of Header */
^
include/linux/kern_levels.h:9:20: note: in expansion of macro 'KERN_SOH'
#define KERN_ALERT KERN_SOH "1" /* action must be taken immediately */
^~~~~~~~
>> include/linux/printk.h:295:9: note: in expansion of macro 'KERN_ALERT'
printk(KERN_ALERT pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~~
kernel/rcu/rcuperf.c:726:2: note: in expansion of macro 'pr_alert'
pr_alert("kfree object size=%lun", kfree_mult * sizeof(struct kfree_obj));
^~~~~~~~
kernel/rcu/rcuperf.c:726:32: note: format string is defined here
pr_alert("kfree object size=%lun", kfree_mult * sizeof(struct kfree_obj));
~~^
%u
vim +/KERN_ALERT +295 include/linux/printk.h
968ab1838a5d48 Linus Torvalds 2010-11-15 285
6e099f557d9c67 Dan Streetman 2014-06-04 286 /*
6e099f557d9c67 Dan Streetman 2014-06-04 287 * These can be used to print at the various log levels.
6e099f557d9c67 Dan Streetman 2014-06-04 288 * All of these will print unconditionally, although note that pr_debug()
6e099f557d9c67 Dan Streetman 2014-06-04 289 * and other debug macros are compiled out unless either DEBUG is defined
6e099f557d9c67 Dan Streetman 2014-06-04 290 * or CONFIG_DYNAMIC_DEBUG is set.
6e099f557d9c67 Dan Streetman 2014-06-04 291 */
a0cba2179ea4c1 Linus Torvalds 2016-08-09 292 #define pr_emerg(fmt, ...) \
a0cba2179ea4c1 Linus Torvalds 2016-08-09 293 printk(KERN_EMERG pr_fmt(fmt), ##__VA_ARGS__)
a0cba2179ea4c1 Linus Torvalds 2016-08-09 294 #define pr_alert(fmt, ...) \
a0cba2179ea4c1 Linus Torvalds 2016-08-09 @295 printk(KERN_ALERT pr_fmt(fmt), ##__VA_ARGS__)
a0cba2179ea4c1 Linus Torvalds 2016-08-09 296 #define pr_crit(fmt, ...) \
a0cba2179ea4c1 Linus Torvalds 2016-08-09 297 printk(KERN_CRIT pr_fmt(fmt), ##__VA_ARGS__)
a0cba2179ea4c1 Linus Torvalds 2016-08-09 298 #define pr_err(fmt, ...) \
a0cba2179ea4c1 Linus Torvalds 2016-08-09 299 printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
61ff72f4016804 Kefeng Wang 2019-11-28 300 #define pr_warn(fmt, ...) \
a0cba2179ea4c1 Linus Torvalds 2016-08-09 301 printk(KERN_WARNING pr_fmt(fmt), ##__VA_ARGS__)
a0cba2179ea4c1 Linus Torvalds 2016-08-09 302 #define pr_notice(fmt, ...) \
a0cba2179ea4c1 Linus Torvalds 2016-08-09 303 printk(KERN_NOTICE pr_fmt(fmt), ##__VA_ARGS__)
a0cba2179ea4c1 Linus Torvalds 2016-08-09 304 #define pr_info(fmt, ...) \
a0cba2179ea4c1 Linus Torvalds 2016-08-09 305 printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
7b1460eccad062 Steven Rostedt 2015-04-15 306 /*
7b1460eccad062 Steven Rostedt 2015-04-15 307 * Like KERN_CONT, pr_cont() should only be used when continuing
7b1460eccad062 Steven Rostedt 2015-04-15 308 * a line with no newline ('\n') enclosed. Otherwise it defaults
7b1460eccad062 Steven Rostedt 2015-04-15 309 * back to KERN_DEFAULT.
7b1460eccad062 Steven Rostedt 2015-04-15 310 */
968ab1838a5d48 Linus Torvalds 2010-11-15 311 #define pr_cont(fmt, ...) \
968ab1838a5d48 Linus Torvalds 2010-11-15 312 printk(KERN_CONT fmt, ##__VA_ARGS__)
968ab1838a5d48 Linus Torvalds 2010-11-15 313
:::::: The code at line 295 was first introduced by commit
:::::: a0cba2179ea4c1820fce2ee046b6ed90ecc56196 Revert "printk: create pr_<level> functions"
:::::: TO: Linus Torvalds <torvalds(a)linux-foundation.org>
:::::: CC: Linus Torvalds <torvalds(a)linux-foundation.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
Re: [PATCH 06/12] xen-blkfront: add callbacks for PM suspend and hibernation
by kbuild test robot
Hi Anchal,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linus/master]
[also build test WARNING on v5.7-rc6]
[cannot apply to xen-tip/linux-next tip/irq/core tip/auto-latest next-20200519]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Anchal-Agarwal/Fix-PM-hibernatio...
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 03fb3acae4be8a6b680ffedb220a8b6c07260b40
config: x86_64-allmodconfig (attached as .config)
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-193-gb8fad4bc-dirty
# save the attached .config to linux build tree
make C=1 ARCH=x86_64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
:::::: branch date: 11 hours ago
:::::: commit date: 11 hours ago
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/block/xen-blkfront.c:2700:0: sparse: sparse: missing terminating " character
drivers/block/xen-blkfront.c:2701:0: sparse: sparse: missing terminating " character
drivers/block/xen-blkfront.c:2700:25: sparse: sparse: Expected ) in function call
drivers/block/xen-blkfront.c:2700:25: sparse: sparse: got The
# https://github.com/0day-ci/linux/commit/1997467d18e784a64ee0fe00875492e96...
git remote add linux-review https://github.com/0day-ci/linux
git remote update linux-review
git checkout 1997467d18e784a64ee0fe00875492e9605f6147
vim +2700 drivers/block/xen-blkfront.c
9f27ee59503865 Jeremy Fitzhardinge 2007-07-17 2672
1997467d18e784 Munehisa Kamata 2020-05-19 2673 static int blkfront_freeze(struct xenbus_device *dev)
1997467d18e784 Munehisa Kamata 2020-05-19 2674 {
1997467d18e784 Munehisa Kamata 2020-05-19 2675 unsigned int i;
1997467d18e784 Munehisa Kamata 2020-05-19 2676 struct blkfront_info *info = dev_get_drvdata(&dev->dev);
1997467d18e784 Munehisa Kamata 2020-05-19 2677 struct blkfront_ring_info *rinfo;
1997467d18e784 Munehisa Kamata 2020-05-19 2678 /* This would be reasonable timeout as used in xenbus_dev_shutdown() */
1997467d18e784 Munehisa Kamata 2020-05-19 2679 unsigned int timeout = 5 * HZ;
1997467d18e784 Munehisa Kamata 2020-05-19 2680 unsigned long flags;
1997467d18e784 Munehisa Kamata 2020-05-19 2681 int err = 0;
1997467d18e784 Munehisa Kamata 2020-05-19 2682
1997467d18e784 Munehisa Kamata 2020-05-19 2683 info->connected = BLKIF_STATE_FREEZING;
1997467d18e784 Munehisa Kamata 2020-05-19 2684
1997467d18e784 Munehisa Kamata 2020-05-19 2685 blk_mq_freeze_queue(info->rq);
1997467d18e784 Munehisa Kamata 2020-05-19 2686 blk_mq_quiesce_queue(info->rq);
1997467d18e784 Munehisa Kamata 2020-05-19 2687
1997467d18e784 Munehisa Kamata 2020-05-19 2688 for_each_rinfo(info, rinfo, i) {
1997467d18e784 Munehisa Kamata 2020-05-19 2689 /* No more gnttab callback work. */
1997467d18e784 Munehisa Kamata 2020-05-19 2690 gnttab_cancel_free_callback(&rinfo->callback);
1997467d18e784 Munehisa Kamata 2020-05-19 2691 /* Flush gnttab callback work. Must be done with no locks held. */
1997467d18e784 Munehisa Kamata 2020-05-19 2692 flush_work(&rinfo->work);
1997467d18e784 Munehisa Kamata 2020-05-19 2693 }
1997467d18e784 Munehisa Kamata 2020-05-19 2694
1997467d18e784 Munehisa Kamata 2020-05-19 2695 for_each_rinfo(info, rinfo, i) {
1997467d18e784 Munehisa Kamata 2020-05-19 2696 spin_lock_irqsave(&rinfo->ring_lock, flags);
1997467d18e784 Munehisa Kamata 2020-05-19 2697 if (RING_FULL(&rinfo->ring)
1997467d18e784 Munehisa Kamata 2020-05-19 2698 || RING_HAS_UNCONSUMED_RESPONSES(&rinfo->ring)) {
1997467d18e784 Munehisa Kamata 2020-05-19 2699 xenbus_dev_error(dev, err, "Hibernation Failed.
1997467d18e784 Munehisa Kamata 2020-05-19 @2700 The ring is still busy");
1997467d18e784 Munehisa Kamata 2020-05-19 2701 info->connected = BLKIF_STATE_CONNECTED;
1997467d18e784 Munehisa Kamata 2020-05-19 2702 spin_unlock_irqrestore(&rinfo->ring_lock, flags);
1997467d18e784 Munehisa Kamata 2020-05-19 2703 return -EBUSY;
1997467d18e784 Munehisa Kamata 2020-05-19 2704 }
1997467d18e784 Munehisa Kamata 2020-05-19 2705 spin_unlock_irqrestore(&rinfo->ring_lock, flags);
1997467d18e784 Munehisa Kamata 2020-05-19 2706 }
1997467d18e784 Munehisa Kamata 2020-05-19 2707 /* Kick the backend to disconnect */
1997467d18e784 Munehisa Kamata 2020-05-19 2708 xenbus_switch_state(dev, XenbusStateClosing);
1997467d18e784 Munehisa Kamata 2020-05-19 2709
1997467d18e784 Munehisa Kamata 2020-05-19 2710 /*
1997467d18e784 Munehisa Kamata 2020-05-19 2711 * We don't want to move forward before the frontend is diconnected
1997467d18e784 Munehisa Kamata 2020-05-19 2712 * from the backend cleanly.
1997467d18e784 Munehisa Kamata 2020-05-19 2713 */
1997467d18e784 Munehisa Kamata 2020-05-19 2714 timeout = wait_for_completion_timeout(&info->wait_backend_disconnected,
1997467d18e784 Munehisa Kamata 2020-05-19 2715 timeout);
1997467d18e784 Munehisa Kamata 2020-05-19 2716 if (!timeout) {
1997467d18e784 Munehisa Kamata 2020-05-19 2717 err = -EBUSY;
1997467d18e784 Munehisa Kamata 2020-05-19 2718 xenbus_dev_error(dev, err, "Freezing timed out;"
1997467d18e784 Munehisa Kamata 2020-05-19 2719 "the device may become inconsistent state");
1997467d18e784 Munehisa Kamata 2020-05-19 2720 }
1997467d18e784 Munehisa Kamata 2020-05-19 2721
1997467d18e784 Munehisa Kamata 2020-05-19 2722 return err;
1997467d18e784 Munehisa Kamata 2020-05-19 2723 }
1997467d18e784 Munehisa Kamata 2020-05-19 2724
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
Re: [PATCH 1/4] gpio: gpiolib: Allow GPIO IRQs to lazy disable
by kbuild test robot
Hi Maulik,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on gpio/for-next]
[also build test ERROR on pinctrl/devel v5.7-rc6 next-20200522]
[cannot apply to tip/irq/core]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Maulik-Shah/irqchip-qcom-pdc-Int...
base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next
config: x86_64-randconfig-a013-20200521 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 3393cc4cebf9969db94dc424b7a2b6195589c33b)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> drivers/gpio/gpiolib.c:2490:22: error: use of undeclared identifier 'chip'
gpiochip_enable_irq(chip, d->hwirq);
^
drivers/gpio/gpiolib.c:2491:2: error: use of undeclared identifier 'chip'
chip->irq.irq_enable(d);
^
drivers/gpio/gpiolib.c:2498:2: error: use of undeclared identifier 'chip'
chip->irq.irq_disable(d);
^
drivers/gpio/gpiolib.c:2499:23: error: use of undeclared identifier 'chip'
gpiochip_disable_irq(chip, d->hwirq);
^
>> drivers/gpio/gpiolib.c:2525:3: error: use of undeclared identifier 'gpiochip'
gpiochip->irq.irq_disable = irqchip->irq_disable;
^
drivers/gpio/gpiolib.c:2528:3: error: use of undeclared identifier 'gpiochip'
gpiochip->irq.irq_mask = irqchip->irq_mask;
^
drivers/gpio/gpiolib.c:2533:3: error: use of undeclared identifier 'gpiochip'
gpiochip->irq.irq_enable = irqchip->irq_enable;
^
drivers/gpio/gpiolib.c:2536:3: error: use of undeclared identifier 'gpiochip'
gpiochip->irq.irq_unmask = irqchip->irq_unmask;
^
8 errors generated.
vim +/chip +2490 drivers/gpio/gpiolib.c
2485
2486 static void gpiochip_irq_enable(struct irq_data *d)
2487 {
2488 struct gpio_chip *gc = irq_data_get_irq_chip_data(d);
2489
> 2490 gpiochip_enable_irq(chip, d->hwirq);
2491 chip->irq.irq_enable(d);
2492 }
2493
2494 static void gpiochip_irq_disable(struct irq_data *d)
2495 {
2496 struct gpio_chip *gc = irq_data_get_irq_chip_data(d);
2497
2498 chip->irq.irq_disable(d);
2499 gpiochip_disable_irq(chip, d->hwirq);
2500 }
2501
2502 static void gpiochip_set_irq_hooks(struct gpio_chip *gc)
2503 {
2504 struct irq_chip *irqchip = gc->irq.chip;
2505
2506 if (!irqchip->irq_request_resources &&
2507 !irqchip->irq_release_resources) {
2508 irqchip->irq_request_resources = gpiochip_irq_reqres;
2509 irqchip->irq_release_resources = gpiochip_irq_relres;
2510 }
2511 if (WARN_ON(gc->irq.irq_enable))
2512 return;
2513 /* Check if the irqchip already has this hook... */
2514 if (irqchip->irq_enable == gpiochip_irq_enable) {
2515 /*
2516 * ...and if so, give a gentle warning that this is bad
2517 * practice.
2518 */
2519 chip_info(gc,
2520 "detected irqchip that is shared with multiple gpiochips: please fix the driver.\n");
2521 return;
2522 }
2523
2524 if (irqchip->irq_disable) {
> 2525 gpiochip->irq.irq_disable = irqchip->irq_disable;
2526 irqchip->irq_disable = gpiochip_irq_disable;
2527 } else {
2528 gpiochip->irq.irq_mask = irqchip->irq_mask;
2529 irqchip->irq_mask = gpiochip_irq_mask;
2530 }
2531
2532 if (irqchip->irq_enable) {
2533 gpiochip->irq.irq_enable = irqchip->irq_enable;
2534 irqchip->irq_enable = gpiochip_irq_enable;
2535 } else {
2536 gpiochip->irq.irq_unmask = irqchip->irq_unmask;
2537 irqchip->irq_unmask = gpiochip_irq_unmask;
2538 }
2539 }
2540
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
[lpieralisi:for-review/acpi-iort-id-rework 8/12] include/linux/of_irq.h:89:1: sparse: sparse: missing identifier in declaration
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/linux.git for-review/acpi-iort-id-rework
head: 256fa832fa39c30c478cdc08dcd1919b89099329
commit: a3954ee26a962f1d086cfdaa4bd1a83b1f8c7f5c [8/12] of/irq: make of_msi_map_get_device_domain() bus agnostic
config: m68k-randconfig-s001-20200519 (attached as .config)
reproduce:
# apt-get install sparse
# sparse version: v0.6.1-193-gb8fad4bc-dirty
git checkout a3954ee26a962f1d086cfdaa4bd1a83b1f8c7f5c
# save the attached .config to linux build tree
make C=1 ARCH=m68k CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
:::::: branch date: 10 hours ago
:::::: commit date: 32 hours ago
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
sparse warnings: (new ones prefixed by >>)
>> include/linux/of_irq.h:89:1: sparse: sparse: missing identifier in declaration
include/linux/of_irq.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:89:1: sparse: sparse: got {
include/linux/of_irq.h:91:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:91:1: sparse: sparse: got }
include/linux/of_irq.h:99:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:99:1: sparse: sparse: got }
include/linux/of_irq.h:115:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:115:1: sparse: sparse: got }
include/linux/node.h:36:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/node.h:36:1: sparse: sparse: got }
--
>> include/linux/of_irq.h:89:1: sparse: sparse: missing identifier in declaration
include/linux/of_irq.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:89:1: sparse: sparse: got {
include/linux/of_irq.h:91:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:91:1: sparse: sparse: got }
include/linux/of_irq.h:99:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:99:1: sparse: sparse: got }
include/linux/of_irq.h:115:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:115:1: sparse: sparse: got }
drivers/mfd/wcd934x.c:183:57: sparse: sparse: undefined identifier 'wcd934x_devices'
--
>> include/linux/of_irq.h:89:1: sparse: sparse: missing identifier in declaration
include/linux/of_irq.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:89:1: sparse: sparse: got {
include/linux/of_irq.h:91:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:91:1: sparse: sparse: got }
include/linux/of_irq.h:99:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:99:1: sparse: sparse: got }
include/linux/of_irq.h:115:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:115:1: sparse: sparse: got }
include/linux/ftrace_irq.h:26:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/ftrace_irq.h:26:1: sparse: sparse: got }
include/linux/ftrace_irq.h:35:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/ftrace_irq.h:35:1: sparse: sparse: got }
include/linux/context_tracking_state.h:23:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/context_tracking_state.h:23:1: sparse: sparse: got }
--
>> include/linux/of_irq.h:89:1: sparse: sparse: missing identifier in declaration
include/linux/of_irq.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:89:1: sparse: sparse: got {
include/linux/of_irq.h:91:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:91:1: sparse: sparse: got }
include/linux/of_irq.h:99:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:99:1: sparse: sparse: got }
include/linux/of_irq.h:115:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:115:1: sparse: sparse: got }
drivers/staging/wfx/bus_sdio.c:181:31: sparse: sparse: undefined identifier 'irq_of_parse_and_map'
--
>> include/linux/of_irq.h:89:1: sparse: sparse: missing identifier in declaration
include/linux/of_irq.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:89:1: sparse: sparse: got {
include/linux/of_irq.h:91:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:91:1: sparse: sparse: got }
include/linux/of_irq.h:99:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:99:1: sparse: sparse: got }
include/linux/of_irq.h:115:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:115:1: sparse: sparse: got }
--
>> include/linux/of_irq.h:89:1: sparse: sparse: missing identifier in declaration
include/linux/of_irq.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:89:1: sparse: sparse: got {
include/linux/of_irq.h:91:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:91:1: sparse: sparse: got }
include/linux/of_irq.h:99:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:99:1: sparse: sparse: got }
include/linux/of_irq.h:115:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:115:1: sparse: sparse: got }
include/linux/pm_runtime.h:124:76: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:124:76: sparse: sparse: got }
include/linux/pm_runtime.h:126:78: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:126:78: sparse: sparse: got }
include/linux/pm_runtime.h:127:77: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:127:77: sparse: sparse: got }
include/linux/pm_runtime.h:128:76: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:128:76: sparse: sparse: got }
include/linux/pm_runtime.h:129:75: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:129:75: sparse: sparse: got }
include/linux/pm_runtime.h:134:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:134:1: sparse: sparse: got }
include/linux/pm_runtime.h:138:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:138:1: sparse: sparse: got }
include/linux/pm_runtime.h:142:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:142:1: sparse: sparse: got }
include/linux/pm_runtime.h:146:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:146:1: sparse: sparse: got }
include/linux/pm_runtime.h:150:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:150:1: sparse: sparse: got }
include/linux/pm_runtime.h:155:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:155:1: sparse: sparse: got }
include/linux/pm_runtime.h:157:78: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:157:78: sparse: sparse: got }
include/linux/pm_runtime.h:158:70: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:158:70: sparse: sparse: got }
include/linux/pm_runtime.h:167:77: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:167:77: sparse: sparse: got }
include/linux/pm_runtime.h:168:73: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:168:73: sparse: sparse: got }
include/linux/pm_runtime.h:169:84: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:169:84: sparse: sparse: got }
include/linux/pm_runtime.h:170:75: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:170:75: sparse: sparse: got }
include/linux/pm_runtime.h:174:79: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:174:79: sparse: sparse: got }
include/linux/pm_runtime.h:176:85: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:176:85: sparse: sparse: got }
include/linux/pm_runtime.h:183:65: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:183:65: sparse: sparse: got }
include/linux/pm_runtime.h:197:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:197:1: sparse: sparse: got }
include/linux/pm_runtime.h:202:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:202:1: sparse: sparse: got }
include/linux/pm_runtime.h:207:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:207:1: sparse: sparse: got }
include/linux/pm_runtime.h:212:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:212:1: sparse: sparse: got }
include/linux/pm_runtime.h:217:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:217:1: sparse: sparse: got }
include/linux/pm_runtime.h:222:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:222:1: sparse: sparse: got }
include/linux/pm_runtime.h:227:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:227:1: sparse: sparse: got }
include/linux/pm_runtime.h:232:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:232:1: sparse: sparse: got }
include/linux/pm_runtime.h:237:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:237:1: sparse: sparse: got }
include/linux/pm_runtime.h:242:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:242:1: sparse: sparse: got }
include/linux/pm_runtime.h:248:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:248:1: sparse: sparse: got }
include/linux/pm_runtime.h:253:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:253:1: sparse: sparse: got }
include/linux/pm_runtime.h:258:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:258:1: sparse: sparse: got }
include/linux/pm_runtime.h:263:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:263:1: sparse: sparse: got }
include/linux/pm_runtime.h:268:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:268:1: sparse: sparse: got }
include/linux/pm_runtime.h:273:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:273:1: sparse: sparse: got }
include/linux/pm_runtime.h:278:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:278:1: sparse: sparse: got }
include/linux/pm_runtime.h:283:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:283:1: sparse: sparse: got }
include/linux/pm_runtime.h:288:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/pm_runtime.h:288:1: sparse: sparse: got }
drivers/iio/accel/mma8452.c:1673:15: sparse: sparse: undefined identifier 'pm_runtime_set_active'
drivers/iio/accel/mma8452.c:1677:9: sparse: sparse: undefined identifier 'pm_runtime_enable'
drivers/iio/accel/mma8452.c:1678:9: sparse: sparse: undefined identifier 'pm_runtime_set_autosuspend_delay'
drivers/iio/accel/mma8452.c:1680:9: sparse: sparse: undefined identifier 'pm_runtime_use_autosuspend'
drivers/iio/accel/mma8452.c:1714:9: sparse: sparse: undefined identifier 'pm_runtime_disable'
drivers/iio/accel/mma8452.c:1715:9: sparse: sparse: undefined identifier 'pm_runtime_set_suspended'
drivers/iio/accel/mma8452.c:1716:9: sparse: sparse: undefined identifier 'pm_runtime_put_noidle'
--
>> include/linux/of_irq.h:89:1: sparse: sparse: missing identifier in declaration
include/linux/of_irq.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:89:1: sparse: sparse: got {
include/linux/of_irq.h:91:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:91:1: sparse: sparse: got }
include/linux/of_irq.h:99:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:99:1: sparse: sparse: got }
include/linux/of_irq.h:115:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:115:1: sparse: sparse: got }
include/uapi/linux/hdlc/ioctl.h:44:1: sparse: sparse: Expected ; at the end of type declaration
include/uapi/linux/hdlc/ioctl.h:44:1: sparse: sparse: got }
include/uapi/linux/if.h:219:48: sparse: sparse: expected ; at end of declaration
include/uapi/linux/if.h:219:48: sparse: sparse: Expected } at end of specifier
include/uapi/linux/if.h:219:48: sparse: sparse: got *
include/uapi/linux/if.h:221:9: sparse: sparse: Expected ; at the end of type declaration
include/uapi/linux/if.h:221:9: sparse: sparse: got }
include/uapi/linux/if.h:222:1: sparse: sparse: Expected ; at the end of type declaration
include/uapi/linux/if.h:222:1: sparse: sparse: got }
--
>> include/linux/of_irq.h:89:1: sparse: sparse: missing identifier in declaration
include/linux/of_irq.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:89:1: sparse: sparse: got {
include/linux/of_irq.h:91:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:91:1: sparse: sparse: got }
include/linux/of_irq.h:99:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:99:1: sparse: sparse: got }
include/linux/of_irq.h:115:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:115:1: sparse: sparse: got }
drivers/i2c/i2c-smbus.c:22:1: sparse: sparse: Expected ; at the end of type declaration
drivers/i2c/i2c-smbus.c:22:1: sparse: sparse: got }
drivers/i2c/i2c-smbus.c:70:20: sparse: sparse: using member 'ara' in incomplete struct i2c_smbus_alert
drivers/i2c/i2c-smbus.c:107:17: sparse: sparse: using member 'alert' in incomplete struct i2c_smbus_alert
>> drivers/i2c/i2c-smbus.c:107:17: sparse: sparse: unknown member
>> drivers/i2c/i2c-smbus.c:107:17: sparse: sparse: cast from unknown type
drivers/i2c/i2c-smbus.c:135:9: sparse: sparse: using member 'alert' in incomplete struct i2c_smbus_alert
drivers/i2c/i2c-smbus.c:135:9: sparse: sparse: using member 'alert' in incomplete struct i2c_smbus_alert
drivers/i2c/i2c-smbus.c:135:9: sparse: sparse: using member 'alert' in incomplete struct i2c_smbus_alert
drivers/i2c/i2c-smbus.c:135:9: sparse: sparse: using member 'alert' in incomplete struct i2c_smbus_alert
drivers/i2c/i2c-smbus.c:136:14: sparse: sparse: using member 'ara' in incomplete struct i2c_smbus_alert
drivers/i2c/i2c-smbus.c:158:32: sparse: sparse: using member 'alert' in incomplete struct i2c_smbus_alert
drivers/i2c/i2c-smbus.c:193:36: sparse: sparse: using member 'alert' in incomplete struct i2c_smbus_alert
--
>> include/linux/of_irq.h:89:1: sparse: sparse: missing identifier in declaration
include/linux/of_irq.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:89:1: sparse: sparse: got {
include/linux/of_irq.h:91:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:91:1: sparse: sparse: got }
include/linux/of_irq.h:99:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:99:1: sparse: sparse: got }
include/linux/of_irq.h:115:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:115:1: sparse: sparse: got }
include/linux/wait_bit.h:14:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/wait_bit.h:14:1: sparse: sparse: got }
--
>> include/linux/of_irq.h:89:1: sparse: sparse: missing identifier in declaration
include/linux/of_irq.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:89:1: sparse: sparse: got {
include/linux/of_irq.h:91:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:91:1: sparse: sparse: got }
include/linux/of_irq.h:99:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:99:1: sparse: sparse: got }
include/linux/of_irq.h:115:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:115:1: sparse: sparse: got }
include/linux/linkmode.h:11:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:11:1: sparse: sparse: got }
include/linux/linkmode.h:16:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:16:1: sparse: sparse: got }
include/linux/linkmode.h:22:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:22:1: sparse: sparse: got }
include/linux/linkmode.h:28:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:28:1: sparse: sparse: got }
include/linux/linkmode.h:33:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:33:1: sparse: sparse: got }
include/linux/linkmode.h:39:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:39:1: sparse: sparse: got }
include/linux/linkmode.h:44:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:44:1: sparse: sparse: got }
include/linux/linkmode.h:51:16: sparse: sparse: Expected ) in function declarator
include/linux/linkmode.h:51:16: sparse: sparse: got =
>> include/linux/linkmode.h:51:9: sparse: sparse: Trying to use reserved word 'for' as identifier
include/linux/linkmode.h:51:23: sparse: sparse: Expected ; at end of declaration
include/linux/linkmode.h:51:23: sparse: sparse: got <
include/linux/linkmode.h:51:38: sparse: sparse: Expected ; at end of declaration
include/linux/linkmode.h:51:38: sparse: sparse: got ++
include/linux/linkmode.h:53:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:53:1: sparse: sparse: got }
include/linux/linkmode.h:58:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:58:1: sparse: sparse: got }
>> include/linux/linkmode.h:65:9: sparse: sparse: Trying to use reserved word 'else' as identifier
include/linux/linkmode.h:66:17: sparse: sparse: Expected ; at end of declaration
include/linux/linkmode.h:66:17: sparse: sparse: got linkmode_clear_bit
include/linux/linkmode.h:67:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:67:1: sparse: sparse: got }
include/linux/linkmode.h:72:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:72:1: sparse: sparse: got }
include/linux/linkmode.h:77:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:77:1: sparse: sparse: got }
include/linux/linkmode.h:83:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:83:1: sparse: sparse: got }
include/linux/linkmode.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:89:1: sparse: sparse: got }
--
>> include/linux/of_irq.h:89:1: sparse: sparse: missing identifier in declaration
include/linux/of_irq.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:89:1: sparse: sparse: got {
include/linux/of_irq.h:91:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:91:1: sparse: sparse: got }
include/linux/of_irq.h:99:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:99:1: sparse: sparse: got }
include/linux/of_irq.h:115:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:115:1: sparse: sparse: got }
kernel/irq/irqdomain.c:227:34: sparse: sparse: undefined identifier 'irq_domain_list'
kernel/irq/irqdomain.c:401:9: sparse: sparse: undefined identifier 'irq_domain_list'
kernel/irq/irqdomain.c:401:9: sparse: sparse: undefined identifier 'irq_domain_list'
>> kernel/irq/irqdomain.c:401:9: sparse: sparse: cast from unknown type
kernel/irq/irqdomain.c:401:9: sparse: sparse: undefined identifier 'irq_domain_list'
kernel/irq/irqdomain.c:401:9: sparse: sparse: undefined identifier 'irq_domain_list'
kernel/irq/irqdomain.c:434:9: sparse: sparse: undefined identifier 'irq_domain_list'
kernel/irq/irqdomain.c:434:9: sparse: sparse: undefined identifier 'irq_domain_list'
kernel/irq/irqdomain.c:434:9: sparse: sparse: cast from unknown type
kernel/irq/irqdomain.c:434:9: sparse: sparse: undefined identifier 'irq_domain_list'
kernel/irq/irqdomain.c:434:9: sparse: sparse: undefined identifier 'irq_domain_list'
kernel/irq/irqdomain.c:1813:9: sparse: sparse: undefined identifier 'irq_domain_list'
kernel/irq/irqdomain.c:1813:9: sparse: sparse: undefined identifier 'irq_domain_list'
kernel/irq/irqdomain.c:1813:9: sparse: sparse: cast from unknown type
kernel/irq/irqdomain.c:1813:9: sparse: sparse: undefined identifier 'irq_domain_list'
kernel/irq/irqdomain.c:1813:9: sparse: sparse: undefined identifier 'irq_domain_list'
--
>> include/linux/of_irq.h:89:1: sparse: sparse: missing identifier in declaration
include/linux/of_irq.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:89:1: sparse: sparse: got {
include/linux/of_irq.h:91:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:91:1: sparse: sparse: got }
include/linux/of_irq.h:99:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:99:1: sparse: sparse: got }
include/linux/of_irq.h:115:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:115:1: sparse: sparse: got }
sound/soc/codecs/wcd9335.c:3552:57: sparse: sparse: undefined identifier 'WCD_CLSH_EVENT_PRE_DAC'
sound/soc/codecs/wcd9335.c:3573:57: sparse: sparse: undefined identifier 'WCD_CLSH_EVENT_POST_PA'
sound/soc/codecs/wcd9335.c:3591:57: sparse: sparse: undefined identifier 'WCD_CLSH_EVENT_PRE_DAC'
sound/soc/codecs/wcd9335.c:3595:57: sparse: sparse: undefined identifier 'WCD_CLSH_EVENT_POST_PA'
sound/soc/codecs/wcd9335.c:3611:57: sparse: sparse: undefined identifier 'WCD_CLSH_EVENT_PRE_DAC'
sound/soc/codecs/wcd9335.c:3616:57: sparse: sparse: undefined identifier 'WCD_CLSH_EVENT_POST_PA'
sound/soc/codecs/wcd9335.c:3708:30: sparse: sparse: undefined identifier 'WCD_CLSH_EVENT_PRE_DAC'
sound/soc/codecs/wcd9335.c:3724:57: sparse: sparse: undefined identifier 'WCD_CLSH_EVENT_POST_PA'
arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
>> include/linux/of_irq.h:89:1: sparse: sparse: missing identifier in declaration
include/linux/of_irq.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:89:1: sparse: sparse: got {
include/linux/of_irq.h:91:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:91:1: sparse: sparse: got }
include/linux/of_irq.h:99:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:99:1: sparse: sparse: got }
include/linux/of_irq.h:115:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:115:1: sparse: sparse: got }
sound/soc/codecs/cs35l33.c:51:1: sparse: sparse: Expected ; at the end of type declaration
sound/soc/codecs/cs35l33.c:51:1: sparse: sparse: got }
sound/soc/codecs/cs35l33.c:205:26: sparse: sparse: using member 'amp_cal' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:207:29: sparse: sparse: using member 'amp_cal' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:208:25: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:234:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:236:27: sparse: sparse: using member 'is_tdm_mode' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:237:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:243:26: sparse: sparse: using member 'amp_cal' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:244:25: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:251:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:254:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:277:25: sparse: sparse: using member 'is_tdm_mode' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:300:9: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:302:9: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:369:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:371:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:375:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:377:33: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:380:25: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:445:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:450:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:464:21: sparse: sparse: using member 'is_tdm_mode' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:468:21: sparse: sparse: using member 'is_tdm_mode' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:485:48: sparse: sparse: using member 'mclk_int' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:490:9: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:495:17: sparse: sparse: using member 'is_tdm_mode' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:499:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:535:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:537:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:540:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:542:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:564:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:578:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:590:25: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:598:25: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:606:25: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:615:25: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:626:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:646:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:648:24: sparse: sparse: using member 'mclk_int' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:653:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:655:24: sparse: sparse: using member 'mclk_int' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:658:24: sparse: sparse: using member 'mclk_int' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:662:9: sparse: sparse: using member 'mclk_int' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:705:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:708:34: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:710:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:713:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:716:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:720:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:725:25: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:731:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:734:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:737:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:740:17: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:770:29: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:781:16: sparse: sparse: using member 'component' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:784:9: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:786:9: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:791:9: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:793:9: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:797:20: sparse: sparse: using member 'pdata' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:798:55: sparse: sparse: using member 'pdata' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:800:20: sparse: sparse: using member 'enable_soft_ramp' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:804:50: sparse: sparse: using member 'pdata' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:811:20: sparse: sparse: using member 'pdata' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:813:52: sparse: sparse: using member 'pdata' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:815:49: sparse: sparse: using member 'pdata' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:821:9: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:867:41: sparse: sparse: using member 'reset_gpio' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:869:44: sparse: sparse: using member 'num_core_supplies' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:876:36: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:878:41: sparse: sparse: using member 'reset_gpio' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:882:36: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:891:36: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:892:39: sparse: sparse: using member 'num_core_supplies' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:905:16: sparse: sparse: using member 'amp_cal' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:907:36: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:908:36: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:909:39: sparse: sparse: using member 'num_core_supplies' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:965:54: sparse: sparse: using member 'component' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:968:28: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:970:28: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:972:28: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:973:28: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:981:28: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:991:25: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:994:25: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:998:25: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:1008:24: sparse: sparse: using member 'amp_cal' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:1012:25: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
sound/soc/codecs/cs35l33.c:1015:25: sparse: sparse: using member 'regmap' in incomplete struct cs35l33_private
>> sound/soc/codecs/cs35l33.c:1018:25: sparse: sparse: too many errors
--
>> include/linux/of_irq.h:89:1: sparse: sparse: missing identifier in declaration
include/linux/of_irq.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:89:1: sparse: sparse: got {
include/linux/of_irq.h:91:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:91:1: sparse: sparse: got }
include/linux/of_irq.h:99:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:99:1: sparse: sparse: got }
include/linux/of_irq.h:115:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:115:1: sparse: sparse: got }
arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
>> include/linux/of_irq.h:89:1: sparse: sparse: missing identifier in declaration
include/linux/of_irq.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:89:1: sparse: sparse: got {
include/linux/of_irq.h:91:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:91:1: sparse: sparse: got }
include/linux/of_irq.h:99:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:99:1: sparse: sparse: got }
include/linux/of_irq.h:115:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:115:1: sparse: sparse: got }
include/linux/node.h:36:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/node.h:36:1: sparse: sparse: got }
arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
--
>> include/linux/of_irq.h:89:1: sparse: sparse: missing identifier in declaration
include/linux/of_irq.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:89:1: sparse: sparse: got {
include/linux/of_irq.h:91:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:91:1: sparse: sparse: got }
include/linux/of_irq.h:99:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:99:1: sparse: sparse: got }
include/linux/of_irq.h:115:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:115:1: sparse: sparse: got }
include/linux/linkmode.h:11:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:11:1: sparse: sparse: got }
include/linux/linkmode.h:16:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:16:1: sparse: sparse: got }
include/linux/linkmode.h:22:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:22:1: sparse: sparse: got }
include/linux/linkmode.h:28:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:28:1: sparse: sparse: got }
include/linux/linkmode.h:33:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:33:1: sparse: sparse: got }
include/linux/linkmode.h:39:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:39:1: sparse: sparse: got }
include/linux/linkmode.h:44:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:44:1: sparse: sparse: got }
include/linux/linkmode.h:51:16: sparse: sparse: Expected ) in function declarator
include/linux/linkmode.h:51:16: sparse: sparse: got =
>> include/linux/linkmode.h:51:9: sparse: sparse: Trying to use reserved word 'for' as identifier
include/linux/linkmode.h:51:23: sparse: sparse: Expected ; at end of declaration
include/linux/linkmode.h:51:23: sparse: sparse: got <
include/linux/linkmode.h:51:38: sparse: sparse: Expected ; at end of declaration
include/linux/linkmode.h:51:38: sparse: sparse: got ++
include/linux/linkmode.h:53:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:53:1: sparse: sparse: got }
include/linux/linkmode.h:58:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:58:1: sparse: sparse: got }
>> include/linux/linkmode.h:65:9: sparse: sparse: Trying to use reserved word 'else' as identifier
include/linux/linkmode.h:66:17: sparse: sparse: Expected ; at end of declaration
include/linux/linkmode.h:66:17: sparse: sparse: got linkmode_clear_bit
include/linux/linkmode.h:67:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:67:1: sparse: sparse: got }
include/linux/linkmode.h:72:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:72:1: sparse: sparse: got }
include/linux/linkmode.h:77:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:77:1: sparse: sparse: got }
include/linux/linkmode.h:83:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:83:1: sparse: sparse: got }
include/linux/linkmode.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/linkmode.h:89:1: sparse: sparse: got }
drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c:118:22: sparse: sparse: undefined identifier 'irq_of_parse_and_map'
drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c:130:40: sparse: sparse: undefined identifier 'irq_of_parse_and_map'
drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c:138:40: sparse: sparse: undefined identifier 'irq_of_parse_and_map'
drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c:145:25: sparse: sparse: undefined identifier 'irq_of_parse_and_map'
--
>> include/linux/of_irq.h:89:1: sparse: sparse: missing identifier in declaration
include/linux/of_irq.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:89:1: sparse: sparse: got {
include/linux/of_irq.h:91:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:91:1: sparse: sparse: got }
include/linux/of_irq.h:99:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:99:1: sparse: sparse: got }
include/linux/of_irq.h:115:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:115:1: sparse: sparse: got }
include/linux/resource_ext.h:17:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/resource_ext.h:17:1: sparse: sparse: got }
--
>> include/linux/of_irq.h:89:1: sparse: sparse: missing identifier in declaration
include/linux/of_irq.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:89:1: sparse: sparse: got {
include/linux/of_irq.h:91:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:91:1: sparse: sparse: got }
include/linux/of_irq.h:99:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:99:1: sparse: sparse: got }
include/linux/of_irq.h:115:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:115:1: sparse: sparse: got }
include/uapi/linux/sched.h:104:1: sparse: sparse: Expected ; at the end of type declaration
include/uapi/linux/sched.h:104:1: sparse: sparse: got }
--
>> include/linux/of_irq.h:89:1: sparse: sparse: missing identifier in declaration
include/linux/of_irq.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:89:1: sparse: sparse: got {
include/linux/of_irq.h:91:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:91:1: sparse: sparse: got }
include/linux/of_irq.h:99:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:99:1: sparse: sparse: got }
include/linux/of_irq.h:115:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:115:1: sparse: sparse: got }
include/linux/of_address.h:17:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_address.h:17:1: sparse: sparse: got }
drivers/tty/serial/arc_uart.c:617:21: sparse: sparse: undefined identifier 'irq_of_parse_and_map'
--
>> include/linux/of_irq.h:89:1: sparse: sparse: missing identifier in declaration
include/linux/of_irq.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:89:1: sparse: sparse: got {
include/linux/of_irq.h:91:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:91:1: sparse: sparse: got }
include/linux/of_irq.h:99:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:99:1: sparse: sparse: got }
include/linux/of_irq.h:115:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:115:1: sparse: sparse: got }
include/uapi/linux/sysctl.h:43:1: sparse: sparse: Expected ; at the end of type declaration
include/uapi/linux/sysctl.h:43:1: sparse: sparse: got }
--
>> include/linux/of_irq.h:89:1: sparse: sparse: missing identifier in declaration
include/linux/of_irq.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:89:1: sparse: sparse: got {
include/linux/of_irq.h:91:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:91:1: sparse: sparse: got }
include/linux/of_irq.h:99:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:99:1: sparse: sparse: got }
include/linux/of_irq.h:115:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:115:1: sparse: sparse: got }
include/linux/range.h:8:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/range.h:8:1: sparse: sparse: got }
--
>> include/linux/of_irq.h:89:1: sparse: sparse: missing identifier in declaration
include/linux/of_irq.h:89:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:89:1: sparse: sparse: got {
include/linux/of_irq.h:91:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:91:1: sparse: sparse: got }
include/linux/of_irq.h:99:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:99:1: sparse: sparse: got }
include/linux/of_irq.h:115:1: sparse: sparse: Expected ; at the end of type declaration
include/linux/of_irq.h:115:1: sparse: sparse: got }
include/uapi/linux/sched.h:104:1: sparse: sparse: Expected ; at the end of type declaration
include/uapi/linux/sched.h:104:1: sparse: sparse: got }
arch/m68k/include/asm/bitops.h:493:27: sparse: sparse: not addressable
# https://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/linux.git/comm...
git remote add lpieralisi https://git.kernel.org/pub/scm/linux/kernel/git/lpieralisi/linux.git
git remote update lpieralisi
git checkout a3954ee26a962f1d086cfdaa4bd1a83b1f8c7f5c
vim +89 include/linux/of_irq.h
4c3141e09cfa646 Carlo Caione 2015-12-01 80
48ae34fb39b0c0c Marc Zyngier 2015-09-18 81 static inline struct irq_domain *of_msi_get_domain(struct device *dev,
48ae34fb39b0c0c Marc Zyngier 2015-09-18 82 struct device_node *np,
48ae34fb39b0c0c Marc Zyngier 2015-09-18 83 enum irq_domain_bus_token token)
48ae34fb39b0c0c Marc Zyngier 2015-09-18 84 {
48ae34fb39b0c0c Marc Zyngier 2015-09-18 85 return NULL;
48ae34fb39b0c0c Marc Zyngier 2015-09-18 86 }
82b9b4243c6d99d Marc Zyngier 2015-10-02 87 static inline struct irq_domain *of_msi_map_get_device_domain(struct device *dev,
a3954ee26a962f1 Diana Craciun 2020-04-29 88 u32 id, u32 bus_token);
82b9b4243c6d99d Marc Zyngier 2015-10-02 @89 {
82b9b4243c6d99d Marc Zyngier 2015-10-02 90 return NULL;
82b9b4243c6d99d Marc Zyngier 2015-10-02 91 }
f9f9f11dcf0f3b7 Jonas Gorski 2015-10-12 92 static inline void of_msi_configure(struct device *dev, struct device_node *np)
f9f9f11dcf0f3b7 Jonas Gorski 2015-10-12 93 {
f9f9f11dcf0f3b7 Jonas Gorski 2015-10-12 94 }
eaddb5725357e9f Rob Herring 2015-12-09 95 static inline u32 of_msi_map_rid(struct device *dev,
eaddb5725357e9f Rob Herring 2015-12-09 96 struct device_node *msi_np, u32 rid_in)
eaddb5725357e9f Rob Herring 2015-12-09 97 {
eaddb5725357e9f Rob Herring 2015-12-09 98 return rid_in;
eaddb5725357e9f Rob Herring 2015-12-09 99 }
a8d3f362f52b652 Rob Herring 2013-11-07 100 #endif
a8d3f362f52b652 Rob Herring 2013-11-07 101
:::::: The code at line 89 was first introduced by commit
:::::: 82b9b4243c6d99d9e38087fa89183aa7479185e9 of/irq: Use the msi-map property to provide device-specific MSI domain
:::::: TO: Marc Zyngier <marc.zyngier(a)arm.com>
:::::: CC: Marc Zyngier <marc.zyngier(a)arm.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
[omap:serdev-ngsm-pending-v5.7 25/29] sound/soc/codecs/motmdm.c:360:15: warning: variable 'daifmt' set but not used
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git serdev-ngsm-pending-v5.7
head: 4eda51fea6be98ca5a4023a988b102bf3629b295
commit: 728c3d7a6d54a03b28a677cbd623439c4b58d3ad [25/29] ASoC: audio-graph-card: Add audio mixer for motorold mdm6600
config: nds32-allyesconfig (attached as .config)
compiler: nds32le-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 728c3d7a6d54a03b28a677cbd623439c4b58d3ad
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nds32
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
sound/soc/codecs/motmdm.c: In function 'motmdm_find_primary_dai':
>> sound/soc/codecs/motmdm.c:360:15: warning: variable 'daifmt' set but not used [-Wunused-but-set-variable]
360 | unsigned int daifmt;
| ^~~~~~
vim +/daifmt +360 sound/soc/codecs/motmdm.c
351
352 static int motmdm_find_primary_dai(struct snd_soc_component *component,
353 const char *name)
354 {
355 struct motmdm_driver_data *ddata =
356 snd_soc_component_get_drvdata(component);
357 struct device_node *bitclkmaster = NULL, *framemaster = NULL;
358 struct device_node *ep, *master_ep, *master = NULL;
359 struct snd_soc_dai_link_component dlc = { 0 };
> 360 unsigned int daifmt;
361
362 ep = of_graph_get_next_endpoint(component->dev->of_node, NULL);
363 if (!ep)
364 return -ENODEV;
365
366 master_ep = of_graph_get_remote_endpoint(ep);
367 of_node_put(ep);
368 if (!master_ep)
369 return -ENODEV;
370
371 daifmt = snd_soc_of_parse_daifmt(master_ep, NULL,
372 &bitclkmaster, &framemaster);
373 of_node_put(master_ep);
374 if (bitclkmaster && framemaster)
375 master = of_graph_get_port_parent(bitclkmaster);
376 of_node_put(bitclkmaster);
377 of_node_put(framemaster);
378 if (!master)
379 return -ENODEV;
380
381 dlc.of_node = master;
382 dlc.dai_name = name;
383 ddata->master_dai = snd_soc_find_dai(&dlc);
384 of_node_put(master);
385 if (!ddata->master_dai)
386 return -EPROBE_DEFER;
387
388 dev_info(component->dev, "Master DAI is %s\n",
389 dev_name(ddata->master_dai->dev));
390
391 return 0;
392 }
393
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months
[linux-next:master 2219/12102] drivers/video/fbdev/controlfb.c:373:10: warning: variable 'g' set but not used
by kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: c11d28ab4a691736e30b49813fb801847bd44e83
commit: a07a63b0e24dd1316d11427601a9f83dc955bb40 [2219/12102] video: fbdev: controlfb: add COMPILE_TEST support
config: i386-allyesconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build):
git checkout a07a63b0e24dd1316d11427601a9f83dc955bb40
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
drivers/video/fbdev/controlfb.c: In function 'controlfb_setcolreg':
drivers/video/fbdev/controlfb.c:373:13: warning: variable 'b' set but not used [-Wunused-but-set-variable]
__u8 r, g, b;
^
>> drivers/video/fbdev/controlfb.c:373:10: warning: variable 'g' set but not used [-Wunused-but-set-variable]
__u8 r, g, b;
^
drivers/video/fbdev/controlfb.c:373:7: warning: variable 'r' set but not used [-Wunused-but-set-variable]
__u8 r, g, b;
^
drivers/video/fbdev/controlfb.c: In function 'control_set_hardware':
drivers/video/fbdev/controlfb.c:505:11: warning: variable 'cmode' set but not used [-Wunused-but-set-variable]
int i, cmode;
^~~~~
vim +/g +373 drivers/video/fbdev/controlfb.c
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 367
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 368 static int controlfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue,
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 369 u_int transp, struct fb_info *info)
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 370 {
c4e423239ca7cb drivers/video/fbdev/controlfb.c Fabian Frederick 2014-09-17 371 struct fb_info_control *p =
c4e423239ca7cb drivers/video/fbdev/controlfb.c Fabian Frederick 2014-09-17 372 container_of(info, struct fb_info_control, info);
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 @373 __u8 r, g, b;
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 374
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 375 if (regno > 255)
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 376 return 1;
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 377
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 378 r = red >> 8;
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 379 g = green >> 8;
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 380 b = blue >> 8;
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 381
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 382 out_8(&p->cmap_regs->addr, regno); /* tell clut what addr to fill */
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 383 out_8(&p->cmap_regs->lut, r); /* send one color channel at */
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 384 out_8(&p->cmap_regs->lut, g); /* a time... */
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 385 out_8(&p->cmap_regs->lut, b);
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 386
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 387 if (regno < 16) {
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 388 int i;
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 389 switch (p->par.cmode) {
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 390 case CMODE_16:
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 391 p->pseudo_palette[regno] =
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 392 (regno << 10) | (regno << 5) | regno;
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 393 break;
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 394 case CMODE_32:
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 395 i = (regno << 8) | regno;
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 396 p->pseudo_palette[regno] = (i << 16) | i;
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 397 break;
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 398 }
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 399 }
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 400
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 401 return 0;
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 402 }
^1da177e4c3f41 drivers/video/controlfb.c Linus Torvalds 2005-04-16 403
:::::: The code at line 373 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2
:::::: TO: Linus Torvalds <torvalds(a)ppc970.osdl.org>
:::::: CC: Linus Torvalds <torvalds(a)ppc970.osdl.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 4 months