Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp583929imm; Fri, 8 Jun 2018 01:41:58 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI0v7Ikr3SUUHJBKA2t5DU9cFaoyQYW2GpLwsYVspVxq7KJqay9WOaPFGpBqg0jtIdh2lLN X-Received: by 2002:a17:902:b946:: with SMTP id h6-v6mr5565732pls.1.1528447318078; Fri, 08 Jun 2018 01:41:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528447318; cv=none; d=google.com; s=arc-20160816; b=PSpGhMpWRdFCp8GFfilN80lxBxDLPjNEDrny7v0H7sOWxxRmIjz2whZZAUWt7i18Cz 1itJTRSIES20NfXqagYnH0srp6whWtVU4zQ88b4OCBHRSZDamBwYvCMCc867SOt0iKw5 U7TpDiqE4nNZnVd6N0WrSIkfqCP+Uig+TQud59BA8qZuF6zzYNqVXNtcUupQPC60tnx3 c4zp0gjU8s2mwMNx7ivHxgD1VpqIx7r7LKPW24nIvDUdOYuP1YX0bFXnssAtkmHw5IVU 9vGOtLuDMRgu31KHzOA2EILJQkheACxIGonnbOj7r4SecJbRGI4zXvKlZicMB1ZreX6I OqcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=ncQE3+FnmjQRWvhnBHP/GFZWJvbTDuLhwOYN1yG+6xY=; b=gy5AJ4OpUtpdvtSeVfqyCuAdAXZPL4pdic30ieooXu20iwAifEywJHq+1dTt4lcS93 od1WzjczRhzFBZcBrm91XNe/9Shx6yxul160ogisoaXntLKOjDBX1XcQm38icNIT+/0j +/VC0H0rlV92NGaCt3d9IKJ0GvdmHmNTrFLbzEhsOB7EbE+Zg7nkwWeVJ3ACAVMZcxhR HA9970VAseAW/X1HI6DIbwGzMkF7nqto0QVCvBGjHtAoAD9sPrlTyKaRb2EN1zt22K5D JY5Eg+nVrWMF7fAXDop81t6Os0ZACnkHvfko7Azfq1QQ3ChG7+Bb/J9zLQtGgvSClERS 3p5A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m8-v6si10974282pgq.637.2018.06.08.01.41.44; Fri, 08 Jun 2018 01:41:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932209AbeFHIkE (ORCPT + 99 others); Fri, 8 Jun 2018 04:40:04 -0400 Received: from mga17.intel.com ([192.55.52.151]:5992 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752769AbeFHIkC (ORCPT ); Fri, 8 Jun 2018 04:40:02 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Jun 2018 01:40:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,490,1520924400"; d="scan'208";a="46218022" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga008.fm.intel.com with ESMTP; 08 Jun 2018 01:39:59 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fRCwA-000GLt-N8; Fri, 08 Jun 2018 16:39:58 +0800 Date: Fri, 8 Jun 2018 16:39:41 +0800 From: kbuild test robot To: Yangbo Lu Cc: kbuild-all@01.org, netdev@vger.kernel.org, madalin.bucur@nxp.com, Richard Cochran , Rob Herring , Shawn Guo , "David S . Miller" , devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Yangbo Lu Subject: Re: [v3, 07/10] fsl/fman_port: support getting timestamp Message-ID: <201806081628.UCdhDsEg%fengguang.wu@intel.com> References: <20180607092050.46128-8-yangbo.lu@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180607092050.46128-8-yangbo.lu@nxp.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: lkp@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Yangbo, I love your patch! Perhaps something to improve: [auto build test WARNING on net-next/master] [also build test WARNING on next-20180608] [cannot apply to v4.17] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Yangbo-Lu/Support-DPAA-PTP-clock-and-timestamping/20180608-131649 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) drivers/net/ethernet/freescale/fman/fman_port.c:879:26: sparse: expression using sizeof(void) drivers/net/ethernet/freescale/fman/fman_port.c:879:26: sparse: expression using sizeof(void) drivers/net/ethernet/freescale/fman/fman_port.c:1035:36: sparse: expression using sizeof(void) drivers/net/ethernet/freescale/fman/fman_port.c:1247:17: sparse: expression using sizeof(void) drivers/net/ethernet/freescale/fman/fman_port.c:1249:17: sparse: expression using sizeof(void) drivers/net/ethernet/freescale/fman/fman_port.c:1249:17: sparse: expression using sizeof(void) >> drivers/net/ethernet/freescale/fman/fman_port.c:1739:19: sparse: cast to restricted __be64 >> drivers/net/ethernet/freescale/fman/fman_port.c:1739:19: sparse: cast to restricted __be64 >> drivers/net/ethernet/freescale/fman/fman_port.c:1739:19: sparse: cast to restricted __be64 >> drivers/net/ethernet/freescale/fman/fman_port.c:1739:19: sparse: cast to restricted __be64 >> drivers/net/ethernet/freescale/fman/fman_port.c:1739:19: sparse: cast to restricted __be64 >> drivers/net/ethernet/freescale/fman/fman_port.c:1739:19: sparse: cast to restricted __be64 >> drivers/net/ethernet/freescale/fman/fman_port.c:1739:19: sparse: cast to restricted __be64 >> drivers/net/ethernet/freescale/fman/fman_port.c:1739:19: sparse: cast to restricted __be64 >> drivers/net/ethernet/freescale/fman/fman_port.c:1739:19: sparse: cast to restricted __be64 >> drivers/net/ethernet/freescale/fman/fman_port.c:1739:19: sparse: cast to restricted __be64 vim +1739 drivers/net/ethernet/freescale/fman/fman_port.c 1733 1734 int fman_port_get_tstamp(struct fman_port *port, const void *data, u64 *tstamp) 1735 { 1736 if (port->buffer_offsets.time_stamp_offset == ILLEGAL_BASE) 1737 return -EINVAL; 1738 > 1739 *tstamp = be64_to_cpu(*(u64 *)(data + 1740 port->buffer_offsets.time_stamp_offset)); 1741 1742 return 0; 1743 } 1744 EXPORT_SYMBOL(fman_port_get_tstamp); 1745 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation