Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp4404451pxb; Sun, 14 Feb 2021 09:10:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJza3ZPnVOkw8s6SMeZ26U4L7gmioqIovoF3OYiy1hJh7dEiXJrFEQYz3OtKQR0afYjUsEst X-Received: by 2002:a17:906:2bce:: with SMTP id n14mr11781018ejg.171.1613322637292; Sun, 14 Feb 2021 09:10:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613322637; cv=none; d=google.com; s=arc-20160816; b=nHRilwntdbLcjsm4QPBeqJMXz04Gm994OAsNM2u5bAdyQk6S8X44Op8BFTvLfR79GL 8iKJI+DqDkhCjSt9jZelOLk/X2k3mlu0Y+xFsniHnq+K9U0DUrxMjSGLmcf9x2E+sY1H BPrlIUByUVC7AEZfWFrm2Re9BtMTsIU9OzxBbx596WfC/MzIOtYFhEw4sIMSc3D21HO6 VoiD3Rm4l6t8319KD81BiG+eaohZXCA2qRCK85G4HXHbrVvEx0BUJGqpr1fX+Q8V0YCd RiEiN77yVXlVoLvx8OqVLq+oZ6rt7JION5p6O0uL/D8rOv+GFskyF2KkqGRUmc8aZ2cK TLzQ== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=VF8KHdr4hegD+eCTMc+rcvVNU7F/sVR7sF6xcNZqhcY=; b=i0EgOoRWqKjHZNI2anmyY2IZKUKHqpZb+rQcudfFlakNgegtR8SbGPb+VDQZMlMHPN JIp8QztGBBZJAayJbcKTckFBPYpqbPuYwJ6noMMe37olLjGCBiXPDJ30yZL90qA3lYHE sll6njII0o3nk8hYNH7cxEv9QSEP0TUUiLqGskS5pGjAPbb39qkhPPRR+LP9Oz4zh28z G1i62gXeoP/yJP3wRh+K4xp+11jHyHDmEjCBwixpRizsMvtTMrmogyknGmcME3gd8FnW dW0Y+nKVw0YVip2ziigAvcn3TrmTFmIwEwvXhfS3f6ldFoOWhsoBUDfmOmvX7R5YBxbn bYQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f8si10969208edw.351.2021.02.14.09.10.13; Sun, 14 Feb 2021 09:10:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229806AbhBNRHI (ORCPT + 99 others); Sun, 14 Feb 2021 12:07:08 -0500 Received: from honk.sigxcpu.org ([24.134.29.49]:49364 "EHLO honk.sigxcpu.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbhBNRHC (ORCPT ); Sun, 14 Feb 2021 12:07:02 -0500 Received: from localhost (localhost [127.0.0.1]) by honk.sigxcpu.org (Postfix) with ESMTP id CB983FB03; Sun, 14 Feb 2021 18:06:18 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at honk.sigxcpu.org Received: from honk.sigxcpu.org ([127.0.0.1]) by localhost (honk.sigxcpu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3oNCoDZm0plg; Sun, 14 Feb 2021 18:06:16 +0100 (CET) Date: Sun, 14 Feb 2021 18:06:15 +0100 From: Guido =?iso-8859-1?Q?G=FCnther?= To: kernel test robot Cc: Heikki Krogerus , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, kbuild-all@lists.01.org, linux-sparse@vger.kernel.org Subject: Re: [PATCH v2 2/4] usb: typec: tps6598x: Add trace event for status register Message-ID: References: <651ac50b9ff6ed3db8cab9f176514900f6a02a0c.1613131413.git.agx@sigxcpu.org> <20210213031237.GP219708@shao2-debian> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210213031237.GP219708@shao2-debian> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi , On Sat, Feb 13, 2021 at 11:12:37AM +0800, kernel test robot wrote: > Hi "Guido, > > I love your patch! Perhaps something to improve: > > [auto build test WARNING on usb/usb-testing] > [also build test WARNING on v5.11-rc7 next-20210211] > [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] > > url: https://github.com/0day-ci/linux/commits/Guido-G-nther/usb-typec-tps6598x-Add-IRQ-flag-and-register-tracing/20210212-200855 > base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing > config: openrisc-randconfig-s032-20210209 (attached as .config) > compiler: or1k-linux-gcc (GCC) 9.3.0 > reproduce: > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # apt-get install sparse > # sparse version: v0.6.3-215-g0fb77bb6-dirty > # https://github.com/0day-ci/linux/commit/ba45e1d5e1fd25b6aed8724106e6c7d5adef7a20 > git remote add linux-review https://github.com/0day-ci/linux > git fetch --no-tags linux-review Guido-G-nther/usb-typec-tps6598x-Add-IRQ-flag-and-register-tracing/20210212-200855 > git checkout ba45e1d5e1fd25b6aed8724106e6c7d5adef7a20 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=openrisc > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > > "sparse warnings: (new ones prefixed by >>)" > drivers/usb/typec/tps6598x.c: note: in included file (through include/trace/trace_events.h, include/trace/define_trace.h, drivers/usb/typec/tps6598x_trace.h): > >> drivers/usb/typec/./tps6598x_trace.h:157:1: sparse: sparse: too long token expansion > I looked around but didn't find any hints how to fix this. Any pointers I missed (added the sparse list to cc:)? Cheers, -- Guido > vim +157 drivers/usb/typec/./tps6598x_trace.h > > c90c0282e4ce33 Guido G?nther 2021-02-12 156 > ba45e1d5e1fd25 Guido G?nther 2021-02-12 @157 TRACE_EVENT(tps6598x_status, > ba45e1d5e1fd25 Guido G?nther 2021-02-12 158 TP_PROTO(u32 status), > ba45e1d5e1fd25 Guido G?nther 2021-02-12 159 TP_ARGS(status), > ba45e1d5e1fd25 Guido G?nther 2021-02-12 160 > ba45e1d5e1fd25 Guido G?nther 2021-02-12 161 TP_STRUCT__entry( > ba45e1d5e1fd25 Guido G?nther 2021-02-12 162 __field(u32, status) > ba45e1d5e1fd25 Guido G?nther 2021-02-12 163 ), > ba45e1d5e1fd25 Guido G?nther 2021-02-12 164 > ba45e1d5e1fd25 Guido G?nther 2021-02-12 165 TP_fast_assign( > ba45e1d5e1fd25 Guido G?nther 2021-02-12 166 __entry->status = status; > ba45e1d5e1fd25 Guido G?nther 2021-02-12 167 ), > ba45e1d5e1fd25 Guido G?nther 2021-02-12 168 > ba45e1d5e1fd25 Guido G?nther 2021-02-12 169 TP_printk("conn: %s, pp_5v0: %s, pp_hv: %s, pp_ext: %s, pp_cable: %s, " > ba45e1d5e1fd25 Guido G?nther 2021-02-12 170 "pwr-src: %s, vbus: %s, usb-host: %s, legacy: %s, flags: %s", > ba45e1d5e1fd25 Guido G?nther 2021-02-12 171 show_status_conn_state(__entry->status), > ba45e1d5e1fd25 Guido G?nther 2021-02-12 172 show_status_pp_switch_state(TPS_STATUS_PP_5V0_SWITCH(__entry->status)), > ba45e1d5e1fd25 Guido G?nther 2021-02-12 173 show_status_pp_switch_state(TPS_STATUS_PP_HV_SWITCH(__entry->status)), > ba45e1d5e1fd25 Guido G?nther 2021-02-12 174 show_status_pp_switch_state(TPS_STATUS_PP_EXT_SWITCH(__entry->status)), > ba45e1d5e1fd25 Guido G?nther 2021-02-12 175 show_status_pp_switch_state(TPS_STATUS_PP_CABLE_SWITCH(__entry->status)), > ba45e1d5e1fd25 Guido G?nther 2021-02-12 176 show_status_power_sources(__entry->status), > ba45e1d5e1fd25 Guido G?nther 2021-02-12 177 show_status_vbus_status(__entry->status), > ba45e1d5e1fd25 Guido G?nther 2021-02-12 178 show_status_usb_host_present(__entry->status), > ba45e1d5e1fd25 Guido G?nther 2021-02-12 179 show_status_legacy(__entry->status), > ba45e1d5e1fd25 Guido G?nther 2021-02-12 180 show_status_flags(__entry->status) > ba45e1d5e1fd25 Guido G?nther 2021-02-12 181 ) > ba45e1d5e1fd25 Guido G?nther 2021-02-12 182 ); > ba45e1d5e1fd25 Guido G?nther 2021-02-12 183 > > --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org > _______________________________________________ > kbuild mailing list -- kbuild@lists.01.org > To unsubscribe send an email to kbuild-leave@lists.01.org