Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3054536ybt; Mon, 29 Jun 2020 14:04:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUezPtFM8JYgzm6Ow5EM7ftx1aWhhrCJFsfT0f/02+wo68WWeXcHL42ai2WhtPgIuHHM6u X-Received: by 2002:a17:906:c40d:: with SMTP id u13mr14993211ejz.519.1593464689852; Mon, 29 Jun 2020 14:04:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593464689; cv=none; d=google.com; s=arc-20160816; b=YkPsVENEEzPOCe1YFouw4ScnUlJLcbfDFoNpzfYaK17/Y9opmngKQzpr1tf2lzgzqR pjIWoIBVEU914DIiEhGgsPO0l4Kpa0c6fgaMcaalbFr8DEZ5LjykAn2NNbMjsNcNwUkE ujEZNIl8aLtfpz7KwaiMr/WHJ4GrJXMUotnNPv1fNqOQih8bYdKWn/mf28wSuXT6OiZ0 AV9sPsgXEagDNzEV3vC++ipfPjEsvyYdgzeCIZuIXoBpwPe0VXThcTnpVHx21z/bNx6T r2nbsyb/Jz5peVeQ8h9PPfCTuA210pqKjVVfY9Vg1AGsJ1UZlApA3zqkRZBfhv3UvDOJ 6+Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=p06NuU6dtm6vhaSPFlwve4UfrBYozIiel1w+x34WQmI=; b=AymUSpZ3TUkrSAohlqNQktQfC0BMGaq4BMYtYjpDNyNI14Vqg7iEpO/lzmvHEwZlSf 9W+usOHF2w+QxK9Aho9SaD9youPpdwdMOICZ8yOZ5/lRfYCjgpY9dyaDPimxiJ7xcP9S ff43Tm+NL4j3VdnVQ6dkKO9FTbFj1oj5CfvkcNYGe28sU2WzqROfMgmjUtb4DCtU0z57 J2F1r+uIXnrzq4siUdKGFyZ4dH27Z/79UoGiVKKGKGJucN1z4AaGvkPIZntHCSghqheZ yjFKfxWAePBGvLPx3+g1VTkV7tpqBm1RujHH/WYgjmbwGVkH8IxJhoZBhUfPT4ltWYCk SW0w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x5si427923eje.481.2020.06.29.14.04.26; Mon, 29 Jun 2020 14:04:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390131AbgF2VBW (ORCPT + 99 others); Mon, 29 Jun 2020 17:01:22 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:57627 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390117AbgF2VBQ (ORCPT ); Mon, 29 Jun 2020 17:01:16 -0400 Received: from mail-qk1-f180.google.com ([209.85.222.180]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.145]) with ESMTPSA (Nemesis) id 1MKsax-1jWq9I1guT-00LHp8; Mon, 29 Jun 2020 13:33:33 +0200 Received: by mail-qk1-f180.google.com with SMTP id l6so14863002qkc.6; Mon, 29 Jun 2020 04:33:33 -0700 (PDT) X-Gm-Message-State: AOAM5328dsWrDwEGKaYKF55sT8S/iBqgzomm53AU8WinhIgcfmtr0EpS vo9u6IrVjdO5h7GYjOgm9H4DZvkmVz4uDOMJbZ4= X-Received: by 2002:a37:b484:: with SMTP id d126mr14557185qkf.394.1593430412219; Mon, 29 Jun 2020 04:33:32 -0700 (PDT) MIME-Version: 1.0 References: <1593410042-10598-1-git-send-email-Anson.Huang@nxp.com> <1593410042-10598-3-git-send-email-Anson.Huang@nxp.com> In-Reply-To: <1593410042-10598-3-git-send-email-Anson.Huang@nxp.com> From: Arnd Bergmann Date: Mon, 29 Jun 2020 13:33:16 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH V3 02/10] init.h: Fix the __setup_param() macro for module build To: Anson Huang Cc: Russell King - ARM Linux , Shawn Guo , Sascha Hauer , Sascha Hauer , Fabio Estevam , Michael Turquette , Stephen Boyd , oleksandr.suvorov@toradex.com, Stefan Agner , Peng Fan , Abel Vesa , Dong Aisheng , Andy Duan , Daniel Baluta , YueHaibing , Stephen Rothwell , Al Viro , Linux ARM , "linux-kernel@vger.kernel.org" , linux-clk , NXP Linux Team Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:07GlrRMWmO5DvLo7yBHmrip+tsbslFabumF1hH9WCHW3OEHg9B0 gXZwj36mzUSffIjIBWLCKPSYTHvew7iFkk3H7u/5Q5cBo92PcUzsX898z+7cbaRUnneb15d FKmxOB1TsQ+a7c5U88lgUCThx63kWVWf4edm7LRUJdjnzixuMM6pP4u0BJnZm9FqwX/4iPP dCB+AUSFttLsKuQdBdbZQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:cut6NnEb7eY=:n4VyG8vxiQxJPJxagmrYp5 h+PjDDYquSdLoygHweSVsCjyOuu19SU8qs3MSxvWDPfnj/nGNd0ZJNro5Olzuio3sTxU5aknL r0oHQ9AZsXjIrK81NBWyNkrpZzS1z9ghGByQ4qzEEWaZOb2JkIt9IPvJDDnC02n5+hNQrJ0bN nfKxVRnJrnKBJS/TxPiO/m+79EMFMn7U3zBtEGXawjoggtaeJSCPxcfe1WC9KSO9De7C+hPZG +kX7tM5fnPOB++3/9GHVKYMZYOoV8CFwI9VJY4l1cYg5sNc4Rl4J6yPwXlMaFfSNkAWHo8tc+ OMpGCnFj0AF6yvqi7I6mymoZvMhtc+uZ4v+BevKQCI6QhfLiEKpGaKLpv9aqyY5bkwNmDqNSx NJm6BvcWKISwMOdaVrxrseYYbKSr7BN1GpWBC4iZ1prgyYR52HxdjUcO8J6xd0HLf/CbfvvWZ nNOFxB4tYZEo3MN5+mLFT5nidNSYXezxZo7KC+p25ce+eYbw89NW9xUKR1NFtU58lYL8H3uC0 KZ+7gsmNefLgmsgQ8BRtc1BEupHeM/svWp799ah8Yyhndf/dZLWj4NeYwRuOpXXTRQ4loWBK+ TFKES6oDUKrRSLzaKlksTDi4RWCX+WvEiRz2p0W93DhReFzmx/ztMF5J2rVFS03p3BCCjeyen DUOnEp//GHZwe9gRgSXqVmAW4WtKpwyy85519E9jq3gpMgriAEp9adrM6ZbWi0k0H03CgAKJ2 cG0BV147K7YZ8wa/BR/Hs/MfcpwYKH6in6ge0+dVdUn3FtcV202ubJJ4/+uF67mY6IHpfDxXU /HFMPTayINqZA+BvEe5O3MUxIRmu9nRhTtzIqQcGVfPN0kq9Is= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 29, 2020 at 8:06 AM Anson Huang wrote: > > Keep __setup_param() to use same parameters for both built in > and built as module, it can make the drivers which call it easier > when the drivers can be built in or built as module. > > Signed-off-by: Anson Huang I wonder if we should instead drop the __setup() and __setup_param() definitions from the #else block here. This was clearly not used anywhere, and it sounds like any possible user is broken and should be changed to not use __setup() anyway. Arnd