Received: by 2002:a05:7412:e79e:b0:f3:1519:9f41 with SMTP id o30csp107749rdd; Wed, 22 Nov 2023 10:34:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IHjM4hU9OX7tSe0vRPIgaXQY946k0AUNo2NyN/+s7FWYlkUIHH7Vfrjnnq0Rg07S4c4pDZ2 X-Received: by 2002:a9d:4d91:0:b0:6d3:23c3:4dcf with SMTP id u17-20020a9d4d91000000b006d323c34dcfmr3524422otk.18.1700678045964; Wed, 22 Nov 2023 10:34:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700678045; cv=none; d=google.com; s=arc-20160816; b=ojtGhtvnh/wc/FuK2mPqtWspW15qxkP1O9OWazYK5sRgrE/tHjr8OrCzcBR0CD4K/m 09pEJuMjVq6GI+QaSB9NHiwHAVYq3/fyvI0tf2/wQHmu5O3nDqUj+xTWV2aeZuP8eX4u 1ypwIIJrAxH30XdTmFGR0iYSiOJr40epqf1heO5y7MYqr2TbIs5LiQjQTomAIocDzBJW fWZu7tk356QRY5Q/uDk2HdYdkpvad3v6dl6+MqA8cRSepcMeM7Ck/2Mcbp4mOglq6RAz pXLWm0dyglfl8OCaVyKSTcpTDEb/KSwzzjhsRQIk0xhGXSJMQckCTIt7MMD9/T9yQFZT psWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=t3rBHpwAh2W5jJoJrEBbrVU6aXSyHGI7uvsKQ2x6Z48=; fh=fWx/RHOiHueRAUGOmFd4diN2a987lwY1oGSjL5ptZ6U=; b=fnQwRWgfeXCggZCa2szBdPhP1hvkAeCabSmX3rH7x5qRW+Nm1DhjEuLW05CTJjJrz9 ctvymXN3svMExTsWYugLGV5lcTG9alruawTVX/BRvdNI2HL/UI0rS3ve3U5JwLCsia76 u+5OGMQomtlnu9+GaDmLv+xJLXL7De/8zUYPtqtBDafRV2XAVW88DGjFG2LegcBy/Na/ Nx9676SKkoU/atX7pTIauNQoGaPpaqxcGpYGI9/h2LYFYVwtf/C+vTR4AyyTmHZHrrV0 NuUTGMiYN5CdD2bwNN/EJG4helRK3X3Ya7V/97mUw6fP0P6nGiXGGEUEifza2Y0p/EoF a4jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Xzlf3XBL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id s69-20020a632c48000000b005b8f401a3a6si26051pgs.41.2023.11.22.10.34.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 10:34:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Xzlf3XBL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 359E78341C00; Wed, 22 Nov 2023 10:34:03 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231488AbjKVSdw (ORCPT + 99 others); Wed, 22 Nov 2023 13:33:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230513AbjKVSdw (ORCPT ); Wed, 22 Nov 2023 13:33:52 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C6C51B3 for ; Wed, 22 Nov 2023 10:33:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700678029; x=1732214029; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=ZtOI3P+73D+xoSiDpddoMtHCbPxN/JLlZwoFdrAlN6g=; b=Xzlf3XBLJLe+Rj90N7V9tHOk2EiU/fdRQzunUMqgSghfqb2QABpOsOGg Rfsy1otDoqLU8v3DnMCJllFE7oy6nVfsTLP7vGZCfLTkvSxUaKK+BGaL9 0+UDMKPZZvML/gITRqWMoH2yS85TxefRz2nyclb/3uYEThfwejsfYYy4O OZ/7VqkZOvqKSRnTHXw5fRGdg058t1s6CgC0+BzQgRWBmd1/mc1FzDdmI OBL2AqsOwcCK1+Mtd1Ca8v4+1Y6WIDkmIawYGpgDyKt+xCDpmmL5QyZmr fnM9Kms5QG66SOvfVQLdTnnTpGQPFu01QtxmbaBHwfUKC1SicxhZntkof g==; X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="13671869" X-IronPort-AV: E=Sophos;i="6.04,219,1695711600"; d="scan'208";a="13671869" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmvoesa101.fm.intel.com with ESMTP; 22 Nov 2023 10:33:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10901"; a="743340984" X-IronPort-AV: E=Sophos;i="6.04,218,1695711600"; d="scan'208";a="743340984" Received: from unknown (HELO smile.fi.intel.com) ([10.237.72.54]) by orsmga006.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Nov 2023 02:29:50 -0800 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1r5kLW-0000000G3pL-01Mp; Wed, 22 Nov 2023 12:20:38 +0200 Date: Wed, 22 Nov 2023 12:20:37 +0200 From: Andy Shevchenko To: kernel test robot Cc: Hans de Goede , oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Lee Jones , Arnd Bergmann Subject: Re: drivers/extcon/extcon-intel-cht-wc.c:153:3: warning: this statement may fall through Message-ID: References: <202311220741.oIvJcjV4-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202311220741.oIvJcjV4-lkp@intel.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 22 Nov 2023 10:34:03 -0800 (PST) On Wed, Nov 22, 2023 at 07:27:14AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: c2d5304e6c648ebcf653bace7e51e0e6742e46c8 > commit: de85d79f4aab67fe0537dd6e2c5d545b88239cc4 mfd: Add Cherry Trail Whiskey Cove PMIC driver > date: 6 years ago > config: i386-randconfig-002-20231120 (https://download.01.org/0day-ci/archive/20231122/202311220741.oIvJcjV4-lkp@intel.com/config) > compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0 > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231122/202311220741.oIvJcjV4-lkp@intel.com/reproduce) > > 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/202311220741.oIvJcjV4-lkp@intel.com/ ... > db0f3baaa38bb5 Hans de Goede 2017-03-23 151 switch (usbsrc) { > db0f3baaa38bb5 Hans de Goede 2017-03-23 152 default: > db0f3baaa38bb5 Hans de Goede 2017-03-23 @153 dev_warn(ext->dev, > db0f3baaa38bb5 Hans de Goede 2017-03-23 154 "Unhandled charger type %d, defaulting to SDP\n", > db0f3baaa38bb5 Hans de Goede 2017-03-23 155 ret); > db0f3baaa38bb5 Hans de Goede 2017-03-23 156 /* Fall through, treat as SDP */ Replacing this comment by a fallthrough annotation should fix this (and comment itself is redundant as long as properly annotated). > db0f3baaa38bb5 Hans de Goede 2017-03-23 157 case CHT_WC_USBSRC_TYPE_SDP: > db0f3baaa38bb5 Hans de Goede 2017-03-23 158 case CHT_WC_USBSRC_TYPE_FLOAT_DP_DN: > db0f3baaa38bb5 Hans de Goede 2017-03-23 159 case CHT_WC_USBSRC_TYPE_OTHER: > db0f3baaa38bb5 Hans de Goede 2017-03-23 160 return EXTCON_CHG_USB_SDP; > db0f3baaa38bb5 Hans de Goede 2017-03-23 161 case CHT_WC_USBSRC_TYPE_CDP: > db0f3baaa38bb5 Hans de Goede 2017-03-23 162 return EXTCON_CHG_USB_CDP; > db0f3baaa38bb5 Hans de Goede 2017-03-23 163 case CHT_WC_USBSRC_TYPE_DCP: > db0f3baaa38bb5 Hans de Goede 2017-03-23 164 case CHT_WC_USBSRC_TYPE_DCP_EXTPHY: > db0f3baaa38bb5 Hans de Goede 2017-03-23 165 case CHT_WC_USBSRC_TYPE_MHL: /* MHL2+ delivers upto 2A, treat as DCP */ > db0f3baaa38bb5 Hans de Goede 2017-03-23 166 return EXTCON_CHG_USB_DCP; > db0f3baaa38bb5 Hans de Goede 2017-03-23 167 case CHT_WC_USBSRC_TYPE_ACA: > db0f3baaa38bb5 Hans de Goede 2017-03-23 168 return EXTCON_CHG_USB_ACA; > db0f3baaa38bb5 Hans de Goede 2017-03-23 169 } -- With Best Regards, Andy Shevchenko