From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5024BC4321E for ; Fri, 21 Jan 2022 08:35:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234157AbiAUIfH (ORCPT ); Fri, 21 Jan 2022 03:35:07 -0500 Received: from esa6.hgst.iphmx.com ([216.71.154.45]:32601 "EHLO esa6.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379613AbiAUIem (ORCPT ); Fri, 21 Jan 2022 03:34:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1642754083; x=1674290083; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=Q8+w+zY/fos4SCamEOckILzxUl1jS3yfE7nrCAZdjSU=; b=fqnOhhN64yWyE5YwOYG/xE4/DvfQ6bIY0LAk0pnapHA6gHSlXejCId/e GbNDLs7U6qflUFZlkFsjANWIYzYGalWt3ejVc/pZxShKq47syZWrYHB5M QZu8pd5MdF3nh1wEUsZASFbdDaW4/J8nSP0Vj8XsnHLQVCiHpom1Jn+LC JTq+63zBEXNEKmdc1TzGHE2rmf6zMLEonAObI6uq4b1Tk7SyWSH3qR0Vj 0WPf1ehet1XT4a85JJ41Z2I9zOIzUEYfLgnuZjDjzEWzirojytVj6MtYG M0sZ1Vz/X4XHDkcHsuaDDGA5NzjgF9/QivKuYdRs7fHBhs1HArT32ayMz w==; X-IronPort-AV: E=Sophos;i="5.88,304,1635177600"; d="scan'208";a="192036802" Received: from uls-op-cesaip02.wdc.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 21 Jan 2022 16:34:42 +0800 IronPort-SDR: 18XLU1MVqoMzK8f3DsMNyGKNXdZFjPZh7jVhw1+c4wBG63/zAYlIkkITpWcD0l7k6Ig6gTYY85 iOixSt+K2X6E5aLtXyUoBt9v0n+wMO/X/S4ckwVYpqBB154UJ6dU3MqLAsADAICigYiciB9BMz Vd/nDnvQeOdVp5cgqXW6qAWprBsJWMRnfy4RgCQ6sRftJRNtoJWBBQirlcfcQRy+LeYiiJ8wKi CUeOXPH7SoWhWa4Miqymc5YrOLWqEmnzkHSdvPcUohGGkTtd5OR497y80hLuMOjeiIYiJWTel4 2fMtJlG7SDdc6IMncj7qYUJg Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jan 2022 00:06:53 -0800 IronPort-SDR: dMR3fCPKq7dL8Rjva+qZwuXIYec5FPXhr/P73cqnARNJbaCGPy38f/7/EPqQ4LM5s/vxPd72J5 2tP1SXdS5H66dwg9YR+oH/aHYx8tjQSrVLnQnelYZzWILO1eGQYbyg7AlToN+4nntc2+aHJIbU 8osi1M2JOUPr2tKNQVEygmGltLbMibI1NaYMQ3P8pa+lpSsdTg0o2EsJf6/E0vUW+cCnHEgC1B Yj9p2xZ2tPAQB4mFLSvk53pgq6WLn/ROlh75JYFIr0IGJxRxUg95RPjVV9p2t6lZh6icF3c6KD c+A= WDCIronportException: Internal Received: from usg-ed-osssrv.wdc.com ([10.3.10.180]) by uls-op-cesaip02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jan 2022 00:34:41 -0800 Received: from usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTP id 4JgCNc3fwWz1SVp3 for ; Fri, 21 Jan 2022 00:34:40 -0800 (PST) Authentication-Results: usg-ed-osssrv.wdc.com (amavisd-new); dkim=pass reason="pass (just generated, assumed good)" header.d=opensource.wdc.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= opensource.wdc.com; h=content-transfer-encoding:content-type :in-reply-to:organization:from:references:to:content-language :subject:user-agent:mime-version:date:message-id; s=dkim; t= 1642754079; x=1645346080; bh=Q8+w+zY/fos4SCamEOckILzxUl1jS3yfE7n rCAZdjSU=; b=mBYTwNFWNI2gJI+EMJOK8vQ/zPGTFIxOb8hlRMRHucnDP+YTM7c cNhsPI1aSRlDbAhQcy18FB1qtTC4P9C4G6NmL9ktzVOywAqcmYxwZ1rRkVyAfrd5 Q/GKJoIsFc5u8zVhoM0c2laOEJ5SBEnjZGgpZT9VFmpJCU71t0XdyCUhfA2sMxKW h51xd2nqdiKkrWyc1uYpBKyZNNTwakYJcW0SNyLrk+3exBpr+HS/iGC9VEK02NKG UNgzuVjUrp41rI4Fu+NwJovQHwpBb8wikIvWBxQTY9jogP3hAqnAaTdw4E06Fdpp vKZbjS7ovToZ6RIzMVfc0310N9+thni8guA== X-Virus-Scanned: amavisd-new at usg-ed-osssrv.wdc.com Received: from usg-ed-osssrv.wdc.com ([127.0.0.1]) by usg-ed-osssrv.wdc.com (usg-ed-osssrv.wdc.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 9WUJcSa-1LBO for ; Fri, 21 Jan 2022 00:34:39 -0800 (PST) Received: from [10.225.163.53] (unknown [10.225.163.53]) by usg-ed-osssrv.wdc.com (Postfix) with ESMTPSA id 4JgCNY3K7Vz1RvlN; Fri, 21 Jan 2022 00:34:37 -0800 (PST) Message-ID: <6249735f-e6b7-1331-eb2b-361bb17d6115@opensource.wdc.com> Date: Fri, 21 Jan 2022 17:34:35 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [next] mips: cavium_octeon_defconfig: pata_octeon_cf.c:598:23: error: passing argument 1 of 'trace_ata_bmdma_stop' from incompatible pointer type Content-Language: en-US To: Naresh Kamboju , "open list:LIBATA SUBSYSTEM (Serial and Parallel ATA drivers)" , open list , linux-mips@vger.kernel.org, Linux-Next Mailing List , regressions@lists.linux.dev, lkft-triage@lists.linaro.org Cc: Thomas Bogendoerfer , Stephen Rothwell , Zeal Robot , Minghao Chi , CGEL ZTE References: From: Damien Le Moal Organization: Western Digital Research In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org On 1/21/22 17:02, Naresh Kamboju wrote: > Linux next-20220106..next-20220121 mips build failing with gcc-10. > > drivers/ata/pata_octeon_cf.c: In function 'octeon_cf_dma_finished': > drivers/ata/pata_octeon_cf.c:598:23: error: passing argument 1 of > 'trace_ata_bmdma_stop' from incompatible pointer type > [-Werror=incompatible-pointer-types] > 598 | trace_ata_bmdma_stop(qc, &qc->tf, qc->tag); > | ^~ > | | > | struct ata_queued_cmd * > In file included from include/trace/events/libata.h:10, > from drivers/ata/pata_octeon_cf.c:22: > include/trace/events/libata.h:414:33: note: expected 'struct ata_port > *' but argument is of type 'struct ata_queued_cmd *' > 414 | TP_PROTO(struct ata_port *ap, const struct ata_taskfile > *tf, unsigned int tag), > | ~~~~~~~~~~~~~~~~~^~ > include/linux/tracepoint.h:342:34: note: in definition of macro > '__DECLARE_TRACE' > 342 | static inline void trace_##name(proto) \ > | ^~~~~ > include/linux/tracepoint.h:419:24: note: in expansion of macro 'PARAMS' > 419 | __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \ > | ^~~~~~ > include/linux/tracepoint.h:542:2: note: in expansion of macro 'DECLARE_TRACE' > 542 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) > | ^~~~~~~~~~~~~ > include/linux/tracepoint.h:542:22: note: in expansion of macro 'PARAMS' > 542 | DECLARE_TRACE(name, PARAMS(proto), PARAMS(args)) > | ^~~~~~ > include/trace/events/libata.h:413:1: note: in expansion of macro 'DEFINE_EVENT' > 413 | DEFINE_EVENT(ata_exec_command_template, ata_bmdma_stop, > | ^~~~~~~~~~~~ > include/trace/events/libata.h:414:7: note: in expansion of macro 'TP_PROTO' > 414 | TP_PROTO(struct ata_port *ap, const struct ata_taskfile > *tf, unsigned int tag), > | ^~~~~~~~ > cc1: some warnings being treated as errors > make[3]: *** [scripts/Makefile.build:289: drivers/ata/pata_octeon_cf.o] Error 1 > make[3]: Target '__build' not remade because of errors. > make[2]: *** [scripts/Makefile.build:572: drivers/ata] Error 2 > > Reported-by: Linux Kernel Functional Testing I just posted a fix. As I do not have the environment to compile test mips, could someone test please ? I will send the fix to Linus asap after confirmation that it is OK. Thanks. > > metadata: > git branch: master > git repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next > git describe: next-20220121 > kernel-config: https://builds.tuxbuild.com/23zIBGjQZgIYW8OnGcYjwWlj40X/config > build: https://builds.tuxbuild.com/23zIBGjQZgIYW8OnGcYjwWlj40X/ > > # To install tuxmake on your system globally: > # sudo pip3 install -U tuxmake > # > # See https://docs.tuxmake.org/ for complete documentation. > # Original tuxmake command with fragments listed below. > > tuxmake --runtime podman --target-arch mips --toolchain gcc-10 > --kconfig cavium_octeon_defconfig > > -- > Linaro LKFT > https://lkft.linaro.org -- Damien Le Moal Western Digital Research