Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2930362rdb; Tue, 6 Feb 2024 01:59:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IEINqdfMWTooB2DKG9NXFLbssd9R+0ZqLblTFjCTVsi+tSNLbUb1Fa6utekKHSBI/117OW3 X-Received: by 2002:a05:6358:2c8e:b0:178:76f8:e626 with SMTP id l14-20020a0563582c8e00b0017876f8e626mr2976367rwm.6.1707213549611; Tue, 06 Feb 2024 01:59:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707213549; cv=pass; d=google.com; s=arc-20160816; b=QBvR/RsJi9nqNlBHDOnpZpo+GdBp+YFWjA5qvvQ6m2xrAut4OiLcY//9EBlSxjU9Xk 5xid9OAGcbMJFtHp8ku63ow/SFEUd3jVbx5dL81ppKC4iNm+p48xnu+TnJqgxY6Xwi+K Xqzrxg1KM6sVJWreT8ICPDrG5HXNfQfeOirN4eKd0ufzG9PevmmVxKGdzgIafD4V7sdk X8wAof/FClRJupQMKyGNQZgDTSGl7T6hNf3rEsIzzA3P/jrSX03uzG1nfB3bKYXFeUlu qxsk2pXufaqZEgoIowdz/xroWr+g0BW0WdF4AgMLwKgK+xkcTKuY7t4Y1J+BWAMhQGhi jbGg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=VqzNZZeLgZhHvEfQD4OJen5fPuCkBz9COlGtQ461IMc=; fh=t4RhfF3FHnM7Vkdxqq1Oc4cJa+8+ti0G3bl6vYebSmc=; b=Q6gEe8c/D12BcW3CTRof3VjROyTmb1zyr6L70gbMIR+TIpuivsu8rXPvXnXj7qjGNV kyIwDnkRFAHoIiK+tsqlQhU2PPAUetaKmVdwVNm/zd4qRAbKBRu23hQO2bSLU4Agb+Ln 2omEl/yYgtggti7LREk/fzUHXQYoZN2C4jlp2vrTIDZcKL0ZBgi6dLHiiPyFPZyEutJA ZXksMSqASBk1QAoOLuGPTQLQcMQp8fTOf+TRBPwcdpsNnTJySMhxhm8dZVJHtj9p7WrH dlVzL/zv857C1cFvqJLLyQ+BVtxh2yNPcK2wYIgA4Y2IKkRwyY43gzRk5N1pAWVxKcOo lz5Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ExekihOX; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-54628-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54628-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=1; AJvYcCU1P+WepLJEuXmLfLdiciZspyvCkeQTZzXmOivfVw4Hwyg4HMyKfuTcSVaaJFZKaKbyPcPpknZtE0ZhDq9EQ63k3uTSghCsGFJq636n7Q== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id w4-20020a63f504000000b005c680fbab19si1343124pgh.513.2024.02.06.01.59.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 01:59:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54628-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ExekihOX; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-54628-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54628-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 6DFD4B21F1F for ; Tue, 6 Feb 2024 09:59:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9965B12D77B; Tue, 6 Feb 2024 09:59:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="ExekihOX" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4426C12D76A for ; Tue, 6 Feb 2024 09:58:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707213543; cv=none; b=HoFikEeWalR/zNJD+Jhnbpc1vjdKEDYWLLVVu8vwRKWM83OLdag203Ee6KcblAKBUf54T66PXdyqystHSiBJY3LYzlJCjsxBwT6ci0Hj0wvUlbQ5XUmt8FwWDhm+1KRT4/Oj4dtGfYO+ycEzq2uUaFmO7VN6X4Mp2jMabNiKSVs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707213543; c=relaxed/simple; bh=3NDFAJucASIsh5QzYnkIWuo5iU/VftF+EdgQ++/3YWU=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=fAfk4n1k5wvYlxrH999mG1X76fJq4uVVlyuKQ7wBiALZLgoHJSBNqA5ruyxhI9/zt2MjTqddkg+xqFhWCLxUjLIWtmunqK846LPuWKt+V9hnZgc7aRrbbgwiS4HaJKB5zleQpADzT/OD8XkUuoYqMNifqRErrAiuu7bbHCjDZOE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=ExekihOX; arc=none smtp.client-ip=198.175.65.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707213538; x=1738749538; h=date:from:to:cc:subject:message-id:mime-version; bh=3NDFAJucASIsh5QzYnkIWuo5iU/VftF+EdgQ++/3YWU=; b=ExekihOXC+dsmrxIhMvCxGXqFWtWykvJuUHQ5yGcV9wqjq0vXXhB+zHm VSFOMdqCafToqRgU2zsd4e+K8mjTnNxGH111G4NnnqYKJA06NZunlKB0P /VFhnvqb50iUB06fbrRt7EWB8AcZuDF3Ktdejl4ihaZbinV/OmEAzoLgb zGY3z/tXrBXs+8hL7Jqu4+L3BR/d0951lH3ANcC3dT0pWszeJXqqbrNcd Sz4sYSj53yPXnxUY8CDIkcaAaLx8+nupJatqgkVdBQrObaT1kX8xeW+si wepZtqCwzIW+oZfakVBhutSs3rO9TZLKJE9ik8gEHEoRA2umSLaCObNfa A==; X-IronPort-AV: E=McAfee;i="6600,9927,10975"; a="600398" X-IronPort-AV: E=Sophos;i="6.05,246,1701158400"; d="scan'208";a="600398" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Feb 2024 01:58:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,246,1701158400"; d="scan'208";a="32043640" Received: from lkp-server01.sh.intel.com (HELO 01f0647817ea) ([10.239.97.150]) by fmviesa001.fm.intel.com with ESMTP; 06 Feb 2024 01:58:57 -0800 Received: from kbuild by 01f0647817ea with local (Exim 4.96) (envelope-from ) id 1rXIEB-0001Fs-2U; Tue, 06 Feb 2024 09:58:55 +0000 Date: Tue, 6 Feb 2024 17:58:15 +0800 From: kernel test robot To: Balsam CHIHI Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , AngeloGioacchino Del Regno , Daniel Lezcano Subject: drivers/thermal/mediatek/lvts_thermal.c:520:2-3: Unneeded semicolon Message-ID: <202402061757.2OeFfaWP-lkp@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478 commit: f5f633b18234cecb0e6ee6e5fbb358807dda15c3 thermal/drivers/mediatek: Add the Low Voltage Thermal Sensor driver date: 12 months ago config: sparc64-randconfig-r064-20240206 (https://download.01.org/0day-ci/archive/20240206/202402061757.2OeFfaWP-lkp@intel.com/config) compiler: sparc64-linux-gcc (GCC) 13.2.0 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/202402061757.2OeFfaWP-lkp@intel.com/ cocci warnings: (new ones prefixed by >>) >> drivers/thermal/mediatek/lvts_thermal.c:520:2-3: Unneeded semicolon vim +520 drivers/thermal/mediatek/lvts_thermal.c 464 465 static int lvts_sensor_init(struct device *dev, struct lvts_ctrl *lvts_ctrl, 466 const struct lvts_ctrl_data *lvts_ctrl_data) 467 { 468 struct lvts_sensor *lvts_sensor = lvts_ctrl->sensors; 469 void __iomem *msr_regs[] = { 470 LVTS_MSR0(lvts_ctrl->base), 471 LVTS_MSR1(lvts_ctrl->base), 472 LVTS_MSR2(lvts_ctrl->base), 473 LVTS_MSR3(lvts_ctrl->base) 474 }; 475 476 void __iomem *imm_regs[] = { 477 LVTS_IMMD0(lvts_ctrl->base), 478 LVTS_IMMD1(lvts_ctrl->base), 479 LVTS_IMMD2(lvts_ctrl->base), 480 LVTS_IMMD3(lvts_ctrl->base) 481 }; 482 483 int i; 484 485 for (i = 0; i < lvts_ctrl_data->num_lvts_sensor; i++) { 486 487 int dt_id = lvts_ctrl_data->lvts_sensor[i].dt_id; 488 489 /* 490 * At this point, we don't know which id matches which 491 * sensor. Let's set arbitrally the id from the index. 492 */ 493 lvts_sensor[i].id = i; 494 495 /* 496 * The thermal zone registration will set the trip 497 * point interrupt in the thermal controller 498 * register. But this one will be reset in the 499 * initialization after. So we need to post pone the 500 * thermal zone creation after the controller is 501 * setup. For this reason, we store the device tree 502 * node id from the data in the sensor structure 503 */ 504 lvts_sensor[i].dt_id = dt_id; 505 506 /* 507 * We assign the base address of the thermal 508 * controller as a back pointer. So it will be 509 * accessible from the different thermal framework ops 510 * as we pass the lvts_sensor pointer as thermal zone 511 * private data. 512 */ 513 lvts_sensor[i].base = lvts_ctrl->base; 514 515 /* 516 * Each sensor has its own register address to read from. 517 */ 518 lvts_sensor[i].msr = lvts_ctrl_data->mode == LVTS_MSR_IMMEDIATE_MODE ? 519 imm_regs[i] : msr_regs[i]; > 520 }; 521 522 lvts_ctrl->num_lvts_sensor = lvts_ctrl_data->num_lvts_sensor; 523 524 return 0; 525 } 526 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki