Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3213076ybg; Fri, 25 Oct 2019 00:27:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqyIxWbwNg4qVHdCU1MUkRp7qMXc8y8DzyN896WmKznnBU5kkIwXX38mCfWRi065VTBoap6d X-Received: by 2002:a17:906:3e41:: with SMTP id t1mr2032569eji.103.1571988478305; Fri, 25 Oct 2019 00:27:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571988478; cv=none; d=google.com; s=arc-20160816; b=qgY4KjywvTcm/vGQWolXS6D7au5VFubg1MuoIWFXG39Pdkhc6CfnIHCCVxqwHm0qQ5 FnCCc23R9WrVfsDtXVZ2L1KvhMjifjroVDvdetOUJ/vxlfvNSpw3vW3dqUHOBBRuWgLi P7xWgmgN0vrzOdDjR2N1GmSDbHKvZxE0P+2WfE/rrElw44G9BQqO0OgcTUz2GnQ1Hfbt ldMSG4ODa7iROewc9TaWzJya2xBVFwt+jaqXT+MMoTjJkPyCQjVx7S6QzD2JjGjkaR6G hMrbkl5UEGAd8aJSOgiTf7mfqKwfwSg2isxLbyA7dkKc93cvYjPLgnFJMwRfu9vLw1JY EE8Q== 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:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=Un8dozXGi1hBwrcyMyk9H9EF84fhz0PhjEtVbAbr1g0=; b=UEao7mbpMMskYUFUiVis6BwZpt08QC9NUCVpMXbajPFxMocfm7ovVJKmfS2ptSMIm8 n5LgFUzfMv89JwcOt3TBVOZRfoNpnCsduiQYAxtpAI8oRrdscsQlUYQ8j9qw57XoucWU S8Qgyrd1pXw/CBZcmwDgg7imKS291/oiCotI6n7ZUGwhCS18k4ob8EQK1kTgGgXWFCpw VNleqozSO6IJH5hYnxaq55dkhkftthtCwrN3eeHdXsG1ZXaXK7WoCBauF2nibLPQchg4 yCroU4sH5E92C6KIdS7+dkc5XNLlaD0pDx6QfqOFMpW4lcKydoAC8dOIx8Z2S+9hnRZW b/PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kjCSSh2X; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i39si640523eda.88.2019.10.25.00.27.35; Fri, 25 Oct 2019 00:27: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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kjCSSh2X; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393141AbfJXKAc (ORCPT + 99 others); Thu, 24 Oct 2019 06:00:32 -0400 Received: from mail-pg1-f176.google.com ([209.85.215.176]:39801 "EHLO mail-pg1-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390289AbfJXKAc (ORCPT ); Thu, 24 Oct 2019 06:00:32 -0400 Received: by mail-pg1-f176.google.com with SMTP id p12so13932398pgn.6 for ; Thu, 24 Oct 2019 03:00:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Un8dozXGi1hBwrcyMyk9H9EF84fhz0PhjEtVbAbr1g0=; b=kjCSSh2XWmvn8CMJsbBOFPWBAaUKWR6ru7vss61PnWeUShh2WEMVYstKENB7UQIP6n 4JwL616OEigeu3r1FY2QMKFTVlu/abv7HIrYMnVAhB+5gnMk0qg8QZq5BhYss1FnNW/Z r8JXUrOrH7f8PCaZ+S7Rd3+zr9NgYjoZdhLouR0mifoBLWzrE72lkPeHppSoGN04hL4k JHY77XrfEkw1js5feDxR5f/P2ts/V0wMspJSos5JCXiycPtJBqMIA7akXdP0MkPbLtMs PDeTcD69ImKjnd+k9orHMyMHRlDPzLTUV+2nwICZwbh+vCLww8YFRET5/9+4CQa0W1vw dpDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:reply-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=Un8dozXGi1hBwrcyMyk9H9EF84fhz0PhjEtVbAbr1g0=; b=gmWMhstX8xGXx6PkJ3hvB3Y7PDdBedLtNBHxz15cE3exbryJCLLY4/VkwY9N/FRTUq OPeSZwx/xfi3wiIoN7HE40baoG0TWQvyJq7Fknyix4MrL9GYlbZKRqDBkxynvB2p4F5P KsEDkWOVG01JVsJ0hAv0QsRYP3TkCW+pBi5QNZ+clv3xPPrIvnd2VMRWoZo2AQDLyrsO WeR8TOnNLuADR1X/OB8qFD2erBqwzYbb8hCg2q+sinDHyV9dqnPKBBvgAPiGvc842JWJ 9CEklFNOs8KXdYfcxo1+E/eje7c9Zk9KJnJvtVZXEEyrKax1XGIbbx6ZHr83aemIvmOU gIvQ== X-Gm-Message-State: APjAAAWHNnu2BwCq7GkUDLgAecFq4zZAUv/aFbJ+57BXYtLbiHM4arrD j1SszJd//riHaMq7D0BVDEQ= X-Received: by 2002:a63:934d:: with SMTP id w13mr12839626pgm.185.1571911230923; Thu, 24 Oct 2019 03:00:30 -0700 (PDT) Received: from wambui ([197.254.95.38]) by smtp.gmail.com with ESMTPSA id j63sm10564453pfb.162.2019.10.24.03.00.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2019 03:00:30 -0700 (PDT) Date: Thu, 24 Oct 2019 13:00:20 +0300 From: Wambui Karuga To: Julia Lawall Cc: paulburton@kernel.org, gregkh@linuxfoundation.org, outreachy-kernel@googlegroups.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [Outreachy kernel] Re: [PATCH v2 1/5] staging: octeon: remove typedef declaration for cvmx_wqe Message-ID: <20191024100020.GA13343@wambui> Reply-To: alpine.DEB.2.21.1910240722070.2771@hadrien References: <20191024050011.2ziewy6dkxkcxzvo@lantea.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 24, 2019 at 07:26:59AM +0200, Julia Lawall wrote: > > If you're making significant changes to this driver, please test them > > using the MIPS cavium_octeon_defconfig which is where this driver is > > actually used. > > > > This driver has broken builds a few times recently which makes me very > > tempted to ask that we stop allowing it to be built with COMPILE_TEST. > > The whole octeon-stubs.h thing is a horrible hack anyway... > > Wambui, > > Please figure out what went wrong here. Are there two sets of typedefs > that should have been updated? > I managed to reproduce these build errors and finally noticed that the "octeon-stubs.h" header is only included when CONFIG_CAVIUM_OCTEON_SOC is not defined, therefore compiling properly for COMPILE_TEST but will actually fail when compiled with CONFIG_CAVIUM_OCTEON_SOC is set since the functions will try to use the definitions in arch/mips/include/asm/octeon/ that don't have the changes. Paul, please tell me if this is correct? Thanks, wambui > Others, > > Would it be reasonable to put the information about how the driver should > be compied in the TODO file? git grep cavium_octeon_defconfig in the > octeon directory turns up nothing. > > thanks, > julia > > -- > You received this message because you are subscribed to the Google Groups "outreachy-kernel" group. > To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/alpine.DEB.2.21.1910240722070.2771%40hadrien.