From: kbuild test robot <lkp@intel.com>
To: Marco Felsch <m.felsch@pengutronix.de>
Cc: kbuild-all@01.org, hans.verkuil@cisco.com,
sakari.ailus@linux.intel.com, mchehab@kernel.org,
robh+dt@kernel.org, mark.rutland@arm.com,
linux-media@vger.kernel.org, devicetree@vger.kernel.org,
graphics@pengutronix.de
Subject: Re: [PATCH 2/3] media: tc358746: add Toshiba TC358746 Parallel to CSI-2 bridge driver
Date: Wed, 19 Dec 2018 09:24:25 +0800 [thread overview]
Message-ID: <201812190957.chBdknsj%fengguang.wu@intel.com> (raw)
In-Reply-To: <20181218141240.3056-3-m.felsch@pengutronix.de>
[-- Attachment #1: Type: text/plain, Size: 3475 bytes --]
Hi Marco,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linuxtv-media/master]
[cannot apply to v4.20-rc7]
[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/Marco-Felsch/media-add-Toshiba-TC358746-Bridge-support/20181219-041919
base: git://linuxtv.org/media_tree.git master
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 8.1.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=8.1.0 make.cross ARCH=ia64
All warnings (new ones prefixed by >>):
drivers/media/i2c/tc358746.c: In function 'tc358746_sleep_mode':
>> drivers/media/i2c/tc358746.c:790:30: warning: conversion from 'long unsigned int' to 'u32' {aka 'unsigned int'} changes value from '18446744073709551613' to '4294967293' [-Woverflow]
i2c_wr16_and_or(sd, SYSCTL, ~SYSCTL_SLEEP_MASK,
drivers/media/i2c/tc358746.c: In function 'tc358746_enable_stream':
drivers/media/i2c/tc358746.c:809:32: warning: conversion from 'long unsigned int' to 'u32' {aka 'unsigned int'} changes value from '18446744073709518847' to '4294934527' [-Woverflow]
i2c_wr16_and_or(sd, PP_MISC, ~PP_MISC_FRMSTOP_MASK,
drivers/media/i2c/tc358746.c:811:32: warning: conversion from 'long unsigned int' to 'u32' {aka 'unsigned int'} changes value from '18446744073709551551' to '4294967231' [-Woverflow]
i2c_wr16_and_or(sd, CONFCTL, ~CONFCTL_PPEN_MASK, 0);
drivers/media/i2c/tc358746.c:812:32: warning: conversion from 'long unsigned int' to 'u32' {aka 'unsigned int'} changes value from '18446744073709535231' to '4294950911' [-Woverflow]
i2c_wr16_and_or(sd, PP_MISC, ~PP_MISC_RSTPTR_MASK,
drivers/media/i2c/tc358746.c:820:32: warning: conversion from 'long unsigned int' to 'u32' {aka 'unsigned int'} changes value from '18446744073709551551' to '4294967231' [-Woverflow]
i2c_wr16_and_or(sd, CONFCTL, ~CONFCTL_PPEN_MASK,
drivers/media/i2c/tc358746.c: In function 'tc358746_set_pll':
drivers/media/i2c/tc358746.c:866:32: warning: conversion from 'long unsigned int' to 'u32' {aka 'unsigned int'} changes value from '18446744073709551599' to '4294967279' [-Woverflow]
i2c_wr16_and_or(sd, PLLCTL1, ~PLLCTL1_CKEN_MASK,
drivers/media/i2c/tc358746.c: In function 'tc358746_set_csi_color_space':
drivers/media/i2c/tc358746.c:882:4: warning: conversion from 'long unsigned int' to 'u32' {aka 'unsigned int'} changes value from '18446744073709551374' to '4294967054' [-Woverflow]
~(DATAFMT_PDFMT_MASK | DATAFMT_UDT_EN_MASK),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/media/i2c/tc358746.c:884:31: warning: conversion from 'long unsigned int' to 'u32' {aka 'unsigned int'} changes value from '18446744073709550847' to '4294966527' [-Woverflow]
i2c_wr16_and_or(sd, CONFCTL, ~CONFCTL_PDATAF_MASK,
vim +790 drivers/media/i2c/tc358746.c
787
788 static inline void tc358746_sleep_mode(struct v4l2_subdev *sd, int enable)
789 {
> 790 i2c_wr16_and_or(sd, SYSCTL, ~SYSCTL_SLEEP_MASK,
791 enable ? SYSCTL_SLEEP_MASK : 0);
792 }
793
---
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: 52418 bytes --]
next prev parent reply other threads:[~2018-12-19 1:25 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-18 14:12 [PATCH 0/3] media: add Toshiba TC358746 Bridge support Marco Felsch
2018-12-18 14:12 ` [PATCH 1/3] media: dt-bindings: add bindings for Toshiba TC358746 Marco Felsch
2018-12-28 23:10 ` Rob Herring
2019-02-13 17:57 ` Jacopo Mondi
2019-03-01 10:26 ` Marco Felsch
2019-03-04 9:38 ` Jacopo Mondi
2019-03-04 16:43 ` Marco Felsch
2019-02-18 10:03 ` Sakari Ailus
2019-03-01 10:52 ` Marco Felsch
2019-03-01 11:07 ` Ian Arkver
2019-03-01 13:01 ` Marco Felsch
2019-03-04 9:41 ` Jacopo Mondi
2019-03-04 12:36 ` Sakari Ailus
2019-03-04 16:55 ` Marco Felsch
2019-03-04 18:17 ` Sakari Ailus
2019-03-05 8:49 ` Jacopo Mondi
2019-03-05 18:14 ` Marco Felsch
2019-04-16 10:45 ` Marco Felsch
2019-04-29 16:44 ` Marco Felsch
2019-03-04 12:10 ` Sakari Ailus
2018-12-18 14:12 ` [PATCH 2/3] media: tc358746: add Toshiba TC358746 Parallel to CSI-2 bridge driver Marco Felsch
2018-12-19 1:24 ` kbuild test robot [this message]
2018-12-20 19:37 ` kbuild test robot
2019-02-18 11:25 ` Sakari Ailus
2018-12-18 14:12 ` [PATCH 3/3] media: tc358746: update MAINTAINERS file Marco Felsch
2019-02-18 11:46 ` Sakari Ailus
2019-03-04 17:31 ` Marco Felsch
2019-03-04 18:18 ` Sakari Ailus
2019-01-23 12:54 ` [PATCH 0/3] media: add Toshiba TC358746 Bridge support Marco Felsch
2019-02-12 16:10 ` Marco Felsch
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=201812190957.chBdknsj%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=devicetree@vger.kernel.org \
--cc=graphics@pengutronix.de \
--cc=hans.verkuil@cisco.com \
--cc=kbuild-all@01.org \
--cc=linux-media@vger.kernel.org \
--cc=m.felsch@pengutronix.de \
--cc=mark.rutland@arm.com \
--cc=mchehab@kernel.org \
--cc=robh+dt@kernel.org \
--cc=sakari.ailus@linux.intel.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).