Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751288AbdFBKPK (ORCPT ); Fri, 2 Jun 2017 06:15:10 -0400 Received: from mga01.intel.com ([192.55.52.88]:58315 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751124AbdFBKPI (ORCPT ); Fri, 2 Jun 2017 06:15:08 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,284,1493708400"; d="asc'?scan'208";a="94752668" From: Felipe Balbi To: kbuild test robot Cc: kbuild-all@01.org, Alexander Shishkin , Steven Rostedt , Ingo Molnar , linux-kernel@vger.kernel.org, Chunyan Zhang Subject: Re: [PATCH] kernel: trace: pass export pointer as argument to ->write() In-Reply-To: <201705181922.glbnZKEM%fengguang.wu@intel.com> References: <201705181922.glbnZKEM%fengguang.wu@intel.com> Date: Fri, 02 Jun 2017 13:14:27 +0300 Message-ID: <877f0uvgqk.fsf@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2687 Lines: 75 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, kbuild test robot writes: > Hi Felipe, > > [auto build test ERROR on tip/perf/core] > [also build test ERROR on v4.12-rc1 next-20170518] > [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/Felipe-Balbi/kernel-trac= e-pass-export-pointer-as-argument-to-write/20170518-135452 > config: i386-allmodconfig (attached as .config) > compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 > reproduce: > # save the attached .config to linux build tree > make ARCH=3Di386=20 > > All errors (new ones prefixed by >>): > > drivers/hwtracing/stm/ftrace.c: In function 'stm_ftrace_write': >>> drivers/hwtracing/stm/ftrace.c:49:19: error: incompatible type for argu= ment 1 of 'stm_source_write' > stm_source_write(stm->data, STM_FTRACE_CHAN, buf, len); > ^~~ > In file included from drivers/hwtracing/stm/ftrace.c:18:0: > include/linux/stm.h:136:13: note: expected 'struct stm_source_data *' = but argument is of type 'struct stm_source_data' > int notrace stm_source_write(struct stm_source_data *data, unsigned i= nt chan, > ^~~~~~~~~~~~~~~~ > > vim +/stm_source_write +49 drivers/hwtracing/stm/ftrace.c > > 43 */ > 44 static void notrace > 45 stm_ftrace_write(struct trace_export *export, const void *buf, uns= igned int len) > 46 { > 47 struct stm_ftrace *stm =3D container_of(export, struct stm_ftrace= , ftrace); > 48=09 > > 49 stm_source_write(stm->data, STM_FTRACE_CHAN, buf, len); sorry, just came back from vacations and noticed this. I'll send a v2 short= ly. =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEElLzh7wn96CXwjh2IzL64meEamQYFAlkxOoMACgkQzL64meEa mQbkDRAApuZClQsU3BT6MRvtEAJLn+suvTDuemZGX52nMIEUNxHWh0KNmCJ62REX 2Nc4dm4X05CAfMsiUhy6hC7c3FMnK8LjtFJRBgUJqLIcMK4wFIF6XbWXzspxgrY1 xH85F9F65sVPEyVAVvXlRSik6wYR/LAygYWpVapPwmqEHG5Yh37L9oN93Qz85WM3 CcEypSK10PYAkaa34sy0eECnssIN/DESZAm5qGzH75ydBKBHa88lhS3biHQbXAif rVCMZ1sjuvlP5qgCkzJZhLbhOfTMe4q9X0s6yKVOmmk5Zc0ZObkMiQ68dm+Vo3RC cbWUiXOBN+fhUfAZNnEhez7qbKXWlNfqg1EAmPVtNLDOqDH4QoOhbQSjq9co1/tE TFxnShRk+Oo8gpQjZ/Lxwdfn3OX/M19QUr27dwiyq/06ic8/5eAHgfyoUrVL1MYY CveBva7EghQYcrdAP+VrSidmSwKudJHKG/md2HpGpBkOvZ6Wss2pBsWrLY/hLf8V bQpYFeKoBGJE0/USdzJV3MHPIyzH4OmOGxWcPgqZjGz5j0Yfdj6lJVLhY46sEhRd uZXpTJdQTAGPOc7SiIoSutYVF2QMBN/wGEfVdIyEpzvUkaiDN01jvXjwRjjDXL9S +LAchB4uV+l3OMhBBluJ422J2W1QuvR9edGb6vCJFCETrMR/u90= =iesw -----END PGP SIGNATURE----- --=-=-=--