Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp909800rdb; Wed, 6 Dec 2023 03:37:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IET0KJIZ19Yu+ck4KYwXcNBQDzXNdgOvbow8v/eldRx68Y1YbOapQ2w50urcmiAWgc+Hgii X-Received: by 2002:a05:6a20:12ca:b0:18a:fbd1:8e6d with SMTP id v10-20020a056a2012ca00b0018afbd18e6dmr356003pzg.27.1701862629203; Wed, 06 Dec 2023 03:37:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701862629; cv=none; d=google.com; s=arc-20160816; b=JcRKEH8HhUmr3a9NeOopr3xDynlsdTxmX2ClfJ0u3HHEC7ouHzVv2hlE9gB+PSN9AL esxj+c1cj40oR58E1WiRElNB0gQuhNgPyCSLWXgP1OJFSQnJyrMJJMyxRJywzDs5pJiJ jt4ipD6RyCPOHav5En21aS1ezAeAJCzwWhTXYPPD4Zzr/+tuy4QNhHqjagJBLcz6go9D zg3YRlfy6UAN+cZQLpAtMHYdCI0Ko+XukMS5ZOBTNA/521z/njpnmDdlIIZXocYBiPLe a7po/L4VErmBzl0fFxeY8q3XFgPv239PR5hhiLdK3lHzPhR0MIKWVQpX4UgES+IG7D69 5ivw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=DqgE5+q7J6lRtnL8ePuoZjFxvQqOfOEG5F0cOquA2PQ=; fh=esgUc2XB/RhjY60lCr5rFo+hql2R8rq8ldDfNon1sAQ=; b=eNqLMX1QPHvnrXN+qPlsLAqK8Os3GkbrXGD2nVpknrFc72So7yS44JS22T4GUgBp2U +x06AGGOIQ8eKi2aIOlHipsh5W0sdixVad54hg48NGjBP9t22ovOiJGnSOo+fRTkPxrC 9XVKX0E3U+lQ892HvhE23oOiL3DPy3rANWa/ONXLeSRaeoFxMD/rwpY296WZfzkwF9h6 iTB5N2za3vmXeOuvKPhIOJd3UJsoS7o3OzTdrI3oAyjU0J0dL02Ix2TybqGgHYAu+OA0 hCvhk3yVuNsJJiLexdYg4jipzT/MI7j+Mz6bs7eNXHxaa54jWLLFRVG+3HlniBMrD6eP 9+9A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id az1-20020a17090b028100b00286549e152csi9736729pjb.183.2023.12.06.03.37.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 03:37:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 10BB1826E8F9; Wed, 6 Dec 2023 03:37:07 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377701AbjLFLgt convert rfc822-to-8bit (ORCPT + 99 others); Wed, 6 Dec 2023 06:36:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377704AbjLFLgs (ORCPT ); Wed, 6 Dec 2023 06:36:48 -0500 Received: from mail-yw1-f180.google.com (mail-yw1-f180.google.com [209.85.128.180]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98DD31A5; Wed, 6 Dec 2023 03:36:54 -0800 (PST) Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-5d74186170fso42084847b3.3; Wed, 06 Dec 2023 03:36:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701862613; x=1702467413; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Q7uKADVFo67bwK9oLvgec0xCPe6KYQSC4PqeYTk7K8M=; b=wCd7RJ4chb2r3uf8Qosbe1Fmf4ZKLgAjxaa6mPUk+L8lXAy5heN3NmUZpeGpJ1vjIe shTz7A944KGjzQ0zkahp//hmyRir6iRYz/+4PV9wSAxxfXgwY66AT39BLT9t1cE1593S 1Y3ZLzd9UnYhfhX2hGpmGYnuJnbRZwKgd5tclPlr+vKlFe0CkplMNcJ0qn07RMz8pcZg B8hRk3GA3nCv+U2/u/Z6ya/WxJHXFiumY5bIECHvLFiZunvjl14Lc6ii2/Vk2U4HaZjV y1ALkTFpkfAbKbiVBr5NRESLn3uHDOYc//opzffrbRDKoTUh4xTzBwX7NSHRVt+PR/XS WRIw== X-Gm-Message-State: AOJu0YzwbN5hcFk+p7+0QOgMJ+o3VcQqP/y2TxlpLFhZTJcbD8GP+jpK Wkm3Hwz3SUMs0IGNW0x0LzSXIdEz7nMq5A== X-Received: by 2002:a81:af61:0:b0:5d8:96c:690d with SMTP id x33-20020a81af61000000b005d8096c690dmr575820ywj.7.1701862613612; Wed, 06 Dec 2023 03:36:53 -0800 (PST) Received: from mail-yw1-f178.google.com (mail-yw1-f178.google.com. [209.85.128.178]) by smtp.gmail.com with ESMTPSA id r20-20020a0de814000000b005d39c874019sm4620372ywe.66.2023.12.06.03.36.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Dec 2023 03:36:51 -0800 (PST) Received: by mail-yw1-f178.google.com with SMTP id 00721157ae682-5d96efd26f8so24131207b3.2; Wed, 06 Dec 2023 03:36:49 -0800 (PST) X-Received: by 2002:a81:a103:0:b0:5d1:430e:4c2f with SMTP id y3-20020a81a103000000b005d1430e4c2fmr594560ywg.42.1701862609581; Wed, 06 Dec 2023 03:36:49 -0800 (PST) MIME-Version: 1.0 References: <20231120084606.4083194-1-claudiu.beznea.uj@bp.renesas.com> <20231120084606.4083194-11-claudiu.beznea.uj@bp.renesas.com> In-Reply-To: <20231120084606.4083194-11-claudiu.beznea.uj@bp.renesas.com> From: Geert Uytterhoeven Date: Wed, 6 Dec 2023 12:36:38 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 10/13] net: ravb: Switch to SYSTEM_SLEEP_PM_OPS()/RUNTIME_PM_OPS() and pm_ptr() To: Claudiu Cc: s.shtylyov@omp.ru, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, p.zabel@pengutronix.de, yoshihiro.shimoda.uh@renesas.com, wsa+renesas@sang-engineering.com, biju.das.jz@bp.renesas.com, prabhakar.mahadev-lad.rj@bp.renesas.com, sergei.shtylyov@cogentembedded.com, mitsuhiro.kimura.kc@renesas.com, masaru.nagai.vx@renesas.com, netdev@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Claudiu Beznea Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 06 Dec 2023 03:37:07 -0800 (PST) On Thu, Nov 23, 2023 at 7:15 AM Claudiu wrote: > From: Claudiu Beznea > > SET_SYSTEM_SLEEP_PM_OPS() and SET_RUNTIME_PM_OPS() are deprecated now > and require __maybe_unused protection against unused function warnings. > The usage of pm_ptr() and SYSTEM_SLEEP_PM_OPS()/RUNTIME_PM_OPS() allows > the compiler to see the functions, thus suppressing the warning. Thus > drop the __maybe_unused markings. > > Signed-off-by: Claudiu Beznea Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds