Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3346145rwd; Sat, 10 Jun 2023 06:10:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5GlYKjfS6fA+is/SC+pgVl0sUteejiYpQ0mQp0Z2iDGpRi1nyMBN4uxZSCPqGJ8/GSAc5J X-Received: by 2002:a17:907:8690:b0:973:797b:50de with SMTP id qa16-20020a170907869000b00973797b50demr5128602ejc.60.1686402656287; Sat, 10 Jun 2023 06:10:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686402656; cv=none; d=google.com; s=arc-20160816; b=fn6/k2PeubZeHdjx3qCbPiSvDDk0We7bLT5B+MZKUtgOFZ275d7W86HA/h0nfBkXX7 4ofTB/dx4fFtCeqVoK57PEV1VrFPWtg0LPJfaMwGw1OCJfgORiGhQ425xTzPIaMRWav2 eaO15cbH9I8C3BWMx+MDXJec0YKz9NRzVHAiHU9hNosK2T5n3JkH8LyYu3TkM6mpjgBO yM2A9o8CJQ1dV0IpcDCshommJZ05jCcT7bs4lz6Ro8hABpskgm99UBQ7TdqfLtBcyvnF fPtg5Ju2m18tsxrBPADytwk3l/lNcM8XqatOilHR+A5cC8SU1dUKtUcWf85GvHMlKaBE L4rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=g8ZncuzSGH1rrbTKmPu2jjoqLVERhB/iMXMqLE4ry20=; b=qcYQnxpcH3OKV3zqNhyLCrhUjfS7lssUcSiqTiB06ibMzbJzdrg+npcc2DxRzKB+wF 9r7S+RDGxhrIjX4GuN+99QqaW9Dm8+UZ40dtXnhYYn3aV/rm5HtIlzxS0PzWg2SUCnxq sQm+nXlRu6WvD6C0+zpRR5LghTozhnfumy3A881BvzEoFMT+RCQC1G2gmmYE9RZtUiMl u2oV5CGKSbvew+llvhCarMcdHSYEZ4rrFDxsyargBIhH+IPF92jXA/HvkF4lMMIQhvTA ndQYR/gp3byppvazlxfACp77sPgH5KKh+gZ/BLn7Yqwz2LR/iQ5J4P6z4PkKHzDNvKhq 7vNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OShB4cay; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v19-20020a170906181300b0097890115891si3004900eje.957.2023.06.10.06.10.32; Sat, 10 Jun 2023 06:10:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=OShB4cay; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232069AbjFJM7q (ORCPT + 99 others); Sat, 10 Jun 2023 08:59:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44384 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229749AbjFJM7o (ORCPT ); Sat, 10 Jun 2023 08:59:44 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EEB1AB; Sat, 10 Jun 2023 05:59:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686401983; x=1717937983; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ITLJwuiMSNZijdY4Cz6EusiXck7vPTOmLnkmQWskaI8=; b=OShB4cayu10aFZla9A0oE9/QG63uiZ6GWDEPrfLgPV93QNywgAj6cBEo KKBVu7Aatq0Wi+2JooeueON54gqju3Q/VgkeioLtd96581UVlsAqOKbsv ORk05fn6N3BN9I/owLjhHmRPxjPwnZKUTEuQQ8iQZ+lG5P2LYXzH5ClN3 vILYp7Wjs0NyDNQG+Xzl1bPxPymmdQcehpF1dsmKd14Bim1Jgf4Tlyr5S +absCNldqZJRq13EbA7aKP3MAYC9WMK7aDs2W9tfeetY4DjG2sazUUvU4 nfRbMenTM06cskmFSXONjS8MtyfstYj/tQBzFNjvSoSJK3VH1EioU7e0B A==; X-IronPort-AV: E=McAfee;i="6600,9927,10737"; a="338122799" X-IronPort-AV: E=Sophos;i="6.00,232,1681196400"; d="scan'208";a="338122799" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jun 2023 05:59:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10737"; a="957451084" X-IronPort-AV: E=Sophos;i="6.00,232,1681196400"; d="scan'208";a="957451084" Received: from lkp-server01.sh.intel.com (HELO 15ab08e44a81) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 10 Jun 2023 05:59:38 -0700 Received: from kbuild by 15ab08e44a81 with local (Exim 4.96) (envelope-from ) id 1q7yBt-000A6A-2O; Sat, 10 Jun 2023 12:59:37 +0000 Date: Sat, 10 Jun 2023 20:59:16 +0800 From: kernel test robot To: Demi Marie Obenour , Dwaipayan Ray , Lukas Bulwahn , Joe Perches , Jonathan Corbet , Federico Vaga , Juergen Gross , Stefano Stabellini , Oleksandr Tyshchenko , Lee Jones , Andy Lutomirski , Thomas Gleixner , Vincenzo Frascino , Petr Mladek , Steven Rostedt , Sergey Senozhatsky , Andy Shevchenko , Rasmus Villemoes Cc: oe-kbuild-all@lists.linux.dev, Demi Marie Obenour , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org Subject: Re: [PATCH 2/4] vsscanf(): Return -ERANGE on integer overflow Message-ID: <202306102055.ZSJK8Xsj-lkp@intel.com> References: <20230610025759.1813-2-demi@invisiblethingslab.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230610025759.1813-2-demi@invisiblethingslab.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Demi, kernel test robot noticed the following build warnings: [auto build test WARNING on lee-mfd/for-mfd-next] [also build test WARNING on lee-leds/for-leds-next linus/master v6.4-rc5 next-20230609] [cannot apply to xen-tip/linux-next lee-mfd/for-mfd-fixes] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Demi-Marie-Obenour/vsscanf-Return-ERANGE-on-integer-overflow/20230610-110026 base: https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next patch link: https://lore.kernel.org/r/20230610025759.1813-2-demi%40invisiblethingslab.com patch subject: [PATCH 2/4] vsscanf(): Return -ERANGE on integer overflow config: i386-allyesconfig (https://download.01.org/0day-ci/archive/20230610/202306102055.ZSJK8Xsj-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): git remote add lee-mfd https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git git fetch lee-mfd for-mfd-next git checkout lee-mfd/for-mfd-next b4 shazam https://lore.kernel.org/r/20230610025759.1813-2-demi@invisiblethingslab.com # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 olddefconfig make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/staging/media/atomisp/ If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202306102055.ZSJK8Xsj-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from drivers/staging/media/atomisp//pci/ia_css_acc_types.h:25, from drivers/staging/media/atomisp//pci/ia_css_pipe_public.h:29, from drivers/staging/media/atomisp//pci/ia_css_stream_public.h:25, from drivers/staging/media/atomisp//pci/runtime/binary/interface/ia_css_binary.h:23, from drivers/staging/media/atomisp//pci/runtime/debug/interface/ia_css_debug.h:25, from drivers/staging/media/atomisp/pci/isp/kernels/macc/macc_1.0/ia_css_macc.host.c:18: >> drivers/staging/media/atomisp//pci/hive_isp_css_include/platform_support.h:30: warning: "UCHAR_MAX" redefined 30 | #define UCHAR_MAX (255) | In file included from include/linux/limits.h:7, from drivers/staging/media/atomisp//pci/hive_isp_css_include/type_support.h:37, from drivers/staging/media/atomisp//pci/ia_css_types.h:27, from drivers/staging/media/atomisp/pci/isp/kernels/macc/macc_1.0/ia_css_macc.host.c:16: include/vdso/limits.h:5: note: this is the location of the previous definition 5 | #define UCHAR_MAX ((unsigned char)~0U) | vim +/UCHAR_MAX +30 drivers/staging/media/atomisp//pci/hive_isp_css_include/platform_support.h ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/platform_support.h Mauro Carvalho Chehab 2020-04-19 27 ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/platform_support.h Mauro Carvalho Chehab 2020-04-19 28 #define UINT16_MAX USHRT_MAX ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/platform_support.h Mauro Carvalho Chehab 2020-04-19 29 #define UINT32_MAX UINT_MAX ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/platform_support.h Mauro Carvalho Chehab 2020-04-19 @30 #define UCHAR_MAX (255) ad85094b293e40 drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/platform_support.h Mauro Carvalho Chehab 2020-04-19 31 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki