All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: drivers/iio/chemical/scd4x.c:482:0: warning: syntax error [syntaxError]
Date: Mon, 21 Mar 2022 11:02:55 +0800	[thread overview]
Message-ID: <202203211013.R4mYVb2i-lkp@intel.com> (raw)

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

CC: kbuild-all(a)lists.01.org
BCC: lkp(a)intel.com
CC: linux-kernel(a)vger.kernel.org
TO: Roan van Dijk <roan@protonic.nl>
CC: Jonathan Cameron <Jonathan.Cameron@huawei.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   f443e374ae131c168a065ea1748feac6b2e76613
commit: 49d22b695cbb690b1d1a9d21b61eaf8f61a525d4 drivers: iio: chemical: Add support for Sensirion SCD4x CO2 sensor
date:   5 months ago
:::::: branch date: 7 hours ago
:::::: commit date: 5 months ago
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


cppcheck possible warnings: (new ones prefixed by >>, may not real problems)

>> drivers/iio/common/st_sensors/st_sensors_buffer.c:43:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg]
     buf += storage_bytes;
     ^
--
>> drivers/iio/dac/ad5592r-base.c:478:9: warning: %u in format string (no. 2) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint]
    return sprintf(buf, "%d.%09u %d.%09un",
           ^
   drivers/iio/dac/ad5592r-base.c:478:9: warning: %u in format string (no. 4) requires 'unsigned int' but the argument type is 'signed int'. [invalidPrintfArgType_uint]
    return sprintf(buf, "%d.%09u %d.%09un",
           ^
>> drivers/iio/chemical/scd4x.c:482:0: warning: syntax error [syntaxError]
   
   ^
--
>> drivers/iio/light/isl29018.c:275:10: warning: %d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint]
     len += sprintf(buf + len, "%d.%06d ",
            ^
   drivers/iio/light/isl29018.c:275:10: warning: %d in format string (no. 2) requires 'int' but the argument type is 'unsigned int'. [invalidPrintfArgType_sint]
     len += sprintf(buf + len, "%d.%06d ",
            ^
--

vim +482 drivers/iio/chemical/scd4x.c

49d22b695cbb69 Roan van Dijk 2021-10-08  480  
49d22b695cbb69 Roan van Dijk 2021-10-08  481  static IIO_CONST_ATTR(calibration_forced_value_available,
49d22b695cbb69 Roan van Dijk 2021-10-08 @482  	       __stringify([SCD4X_FRC_MIN_PPM 1 SCD4X_FRC_MAX_PPM]));
49d22b695cbb69 Roan van Dijk 2021-10-08  483  

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

             reply	other threads:[~2022-03-21  3:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-21  3:02 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-01-24 19:23 drivers/iio/chemical/scd4x.c:482:0: warning: syntax error [syntaxError] kernel test robot

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=202203211013.R4mYVb2i-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.