Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1907237ybg; Thu, 24 Oct 2019 01:52:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqwaqV+o/HW4yzVrt7Y38mmWHoHcc+112oo04Ja1kf0AWuEEriI5wP8dGQosT1r0NVwJWla6 X-Received: by 2002:a50:a227:: with SMTP id 36mr29803542edl.262.1571907149989; Thu, 24 Oct 2019 01:52:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571907149; cv=none; d=google.com; s=arc-20160816; b=a9OG+4VUHp4NQsS0iCmbcjRD1sC0D5yzk93HM12AlF+gtjgMWSuQBIV11ETlrCnElF bVtUsdLiDgetrcvnGRvtBXw9O1wxeC3D267hbb7OmaR5Bo2xb3uVWXWHkA5GwEDPy+1W R/ID9g5UP337D+b3GxySSndwaNF20xhcyjgHXt9vuSkvFdvRVGoWF+0iYdye7rUvxc9H 7aHyUFtoTNnfpILWuEg0zUOmAsS7J2l1J0lc2SJm66Ql98GVangk/Y1CoJ8OGS/o0m2V z8gi+WTyVvCtHLNwBP/A1EsEZmxoBzaR+Mtg2mJWNa2CRSUSWA2glrgq+W5Y3bP4/h4B RUSw== 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; bh=bJZAMWkHRq2Xutzmw/dC3RN2fX5X2oPhB++YE4VXv+U=; b=xgS0AFg2sOqKC/z1VIko0cB4wDpqLfkHDAegCThs1lzlleRGpOgnKCglfxxPq8rZzp dBo1V6n6KZeNJkf4v+TCBXKNsVxLN9X1oOuQ9W+WnSe8TjeqMipGu8bNhFWjpKLG1CX+ rYJUMK/DOv1zYDOX3NQF5bg2OAywBNTXdS/9ShvW4yBrOgDySTj/OKQHlu8lWt8phEIM z5WgwFydxxeNbulU1nT4s0s67pK6T/wxJpZjpxnZaeEuvnhaB3E8GmJEBHNT2a2Ogkef dNF23roLzoaBMZMuEbvh4R95jQF/VY9Hdt5kalvLdmJqOZTpS3Z4m6DBYKQhfYiaL1IT pdAQ== 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=iki.fi Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u9si5340933edl.273.2019.10.24.01.52.05; Thu, 24 Oct 2019 01:52:29 -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=iki.fi Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731653AbfJWRnI (ORCPT + 99 others); Wed, 23 Oct 2019 13:43:08 -0400 Received: from emh07.mail.saunalahti.fi ([62.142.5.117]:53866 "EHLO emh07.mail.saunalahti.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731112AbfJWRnI (ORCPT ); Wed, 23 Oct 2019 13:43:08 -0400 Received: from darkstar.musicnaut.iki.fi (85-76-128-127-nat.elisa-mobile.fi [85.76.128.127]) by emh07.mail.saunalahti.fi (Postfix) with ESMTP id 02536B006F; Wed, 23 Oct 2019 20:43:04 +0300 (EEST) Date: Wed, 23 Oct 2019 20:43:04 +0300 From: Aaro Koskinen To: Julia Lawall , Wambui Karuga , Greg Kroah-Hartman Cc: devel@driverdev.osuosl.org, outreachy-kernel@googlegroups.com, linux-kernel@vger.kernel.org Subject: Re: [Outreachy kernel] [PATCH v2 0/5] Remove typedef declarations in staging: octeon Message-ID: <20191023174304.GD18977@darkstar.musicnaut.iki.fi> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Sat, Oct 12, 2019 at 08:35:19PM +0200, Julia Lawall wrote: > On Sat, 12 Oct 2019, Wambui Karuga wrote: > > This patchset removes the addition of new typedefs data types in octeon, > > along with replacing the previous uses with the new declaration format. > > > > v2 of the series removes the obsolete "_t" notation in the named types. > > > > Wambui Karuga (5): > > staging: octeon: remove typedef declaration for cvmx_wqe > > staging: octeon: remove typedef declaration for cvmx_helper_link_info > > staging: octeon: remove typedef declaration for cvmx_fau_reg_32 > > staging: octeon: remove typedef declartion for cvmx_pko_command_word0 > > staging: octeon: remove typedef declaration for cvmx_fau_op_size > > > > drivers/staging/octeon/ethernet-mdio.c | 6 +-- > > drivers/staging/octeon/ethernet-rgmii.c | 4 +- > > drivers/staging/octeon/ethernet-rx.c | 6 +-- > > drivers/staging/octeon/ethernet-tx.c | 4 +- > > drivers/staging/octeon/ethernet.c | 6 +-- > > drivers/staging/octeon/octeon-ethernet.h | 2 +- > > drivers/staging/octeon/octeon-stubs.h | 56 ++++++++++++------------ > > 7 files changed, 43 insertions(+), 41 deletions(-) > > For the series: > > Acked-by: Julia Lawall This series breaks the build on MIPS/OCTEON (the only actual HW using this driver): $ make ARCH=mips CROSS_COMPILE=mips64-linux-gnu- cavium_octeon_defconfig $ make ARCH=mips CROSS_COMPILE=mips64-linux-gnu- [...] CC drivers/staging/octeon/ethernet.o In file included from drivers/staging/octeon/ethernet.c:22: drivers/staging/octeon/octeon-ethernet.h:94:12: warning: 'union cvmx_helper_link_info' declared inside parameter list will not be visible outside of this definition or declaration union cvmx_helper_link_info li); ^~~~~~~~~~~~~~~~~~~~~ drivers/staging/octeon/ethernet.c: In function 'cvm_oct_free_work': drivers/staging/octeon/ethernet.c:177:21: error: dereferencing pointer to incomplete type 'struct cvmx_wqe' int segments = work->word2.s.bufs; ^~ drivers/staging/octeon/ethernet.c: In function 'cvm_oct_common_open': drivers/staging/octeon/ethernet.c:463:30: error: storage size of 'link_info' isn't known union cvmx_helper_link_info link_info; ^~~~~~~~~ etc. Probably all these patches need to be reverted. A.