Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp843538ybk; Wed, 13 May 2020 14:48:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy4IblGCtbJtMgSAO8+rYRIwTe/OdqNjoGecZXCxNa0vHHJaRqX+q9rZIpM4D0vPiy3+h+R X-Received: by 2002:a17:906:4147:: with SMTP id l7mr988212ejk.360.1589406518099; Wed, 13 May 2020 14:48:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589406518; cv=none; d=google.com; s=arc-20160816; b=rTOftxPPDoHW6CiW/QU/RMAHH+FaZmhdu2vSVk3jjdJYF0emj3ADSTD1p8lRJZVQ9L jRQimsvQPhTwJGYwBrFh9OlcIOi3UFJeBtFTwceolIFmbiYhOB37ybV+b4mPF5t03RTa 6NSt5yrIOfd6bjn+0nNWo0yueC6WJrFG8dED/QinDv5ndPhmyriG+dSOw3Nv6y1U1AaO MIwPn/Cl/75LNnd7pGCJ6x40sSVW148Ws53j2LJ/BpAUr+6/w4q5F1RukN+Yozl+m8Dv ng8ItsXYB8nWfnoKVlX9iG9vH1yVGQlVJMO/YtLHCnCzSzXQmGaOQQoS/bjwxsgq40VB uFJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qwEXZysR23CccmrNbp4oN3ldgqd9cJzH2UZSb4ihijw=; b=u2dSXpTTEIAvch9+wxAHtqJ+kp26LsGjmvcPaaVvHVs6NKIGB8r6ahRHmrxxH5G7sb NsbJBq9yC5IBZhia1IZLF87O2NxubqkGr2B9LFYK4LRYo9A2OmITft5BYTWL8p/WRZua hiY8HzXuhFeZ325ARe9/Bc8MeQjWoP3QuNXntpF5cIEz+ciRTeVKQR0kUXJ/p7OKdfpg GYjoFG/GGolyRpunRmdEhZ+u33ePBapB5Q7oTOYjP8l7lXNRP9oT7npFEB1ROg9Ie/jT wYWBiuMz0TYU1k8iNuKEUJ4vy3CDmHrG+ew8YnfOyLglKkDvgtLMfXV0jUCnUecD72e2 WgKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RW1G+oga; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c2si616546ejd.263.2020.05.13.14.48.15; Wed, 13 May 2020 14:48:38 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RW1G+oga; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729942AbgEMVqs (ORCPT + 99 others); Wed, 13 May 2020 17:46:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729799AbgEMVqp (ORCPT ); Wed, 13 May 2020 17:46:45 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C7ACC061A0E for ; Wed, 13 May 2020 14:46:45 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id n5so15317527wmd.0 for ; Wed, 13 May 2020 14:46:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qwEXZysR23CccmrNbp4oN3ldgqd9cJzH2UZSb4ihijw=; b=RW1G+ogaAUWg4GP/IAaKNDiWpKHIvYpQnbau/mVBhnk3xIed4Kf27YNjBWyThTty/b aa6RzDE2vVQpDzT4KYj0Hg1pX7a86XwH8Gkjh+dqN2ijY/Bh7VOGNBKaBvllUvvgTe7V JYtYdUkSr9CrVUUlGhGy0qMnqJzhlEs9Gg1WhRCbrsggDPN8rSk+V+Xjj/ZBwbDca1zn Zqxq/ucDBkApCW26k1BrUvDs0z4ynUSWmSjyaEkSz0+q23ekyBhQTXxIbOAkQi1qEUd3 PJfBW7d+pq1xy7EbcafYMm7NFocw/Ek9E40OFAv8yotfqMA/LMU73/trnk1ziQrnvLwP 0KLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qwEXZysR23CccmrNbp4oN3ldgqd9cJzH2UZSb4ihijw=; b=f+it13AJeJlnXIpX1Megs6xT5/1msegScfy1Tt3fiCloD9vtpuHrLAWBcPMBKb3lvc 7I01GoeN3PXDMVc4ZwrhsC3O9z5j+3oCMFsrvJBRUGDID+aN2wLvSpteSxz4iKS6W7sZ ZAbbyM+LRLlXFgDNNta1KWj87jxI/vi1DfqPLYOcpMZQPjgT3WHbg5RTQxgLcKMaE9R5 IyEzQFWD40Iab7NW+p9lExdmO5LdAIsj7bjIO4H9zg9rtCMcBRFCJUC2jpBtnaPMqh0x jwprqY58M7jkOUU12Ufos13or/ReRPMOd1y2MTIQHFQNFjZBnzOzow3LwkQgQitaZ1lH 3WbA== X-Gm-Message-State: AOAM531SAoMFfzh4MvxDoYKMUjxNLd4sVVyqTKpREUM5q8W4h15Ify/b BcC9WSaDA6resgLfFV26ow0Cg0c5 X-Received: by 2002:a1c:e188:: with SMTP id y130mr9611614wmg.105.1589406403908; Wed, 13 May 2020 14:46:43 -0700 (PDT) Received: from localhost.localdomain (cpc91192-cmbg18-2-0-cust374.5-4.cable.virginm.net. [80.6.113.119]) by smtp.gmail.com with ESMTPSA id m23sm1699734wmg.45.2020.05.13.14.46.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 May 2020 14:46:43 -0700 (PDT) From: Emil Velikov To: dri-devel@lists.freedesktop.org Cc: emil.l.velikov@gmail.com, Greg Kroah-Hartman , Jiri Slaby , linux-kernel@vger.kernel.org, Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev@lists.ozlabs.org Subject: [PATCH 06/11] powerpc/xmon: constify sysrq_key_op Date: Wed, 13 May 2020 22:43:46 +0100 Message-Id: <20200513214351.2138580-6-emil.l.velikov@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200513214351.2138580-1-emil.l.velikov@gmail.com> References: <20200513214351.2138580-1-emil.l.velikov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org With earlier commits, the API no longer discards the const-ness of the sysrq_key_op. As such we can add the notation. Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-kernel@vger.kernel.org Cc: Michael Ellerman Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Emil Velikov --- Please keep me in the CC list, as I'm not subscribed to the list. IMHO it would be better if this gets merged this via the tty tree. --- arch/powerpc/xmon/xmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/xmon/xmon.c b/arch/powerpc/xmon/xmon.c index 7af840c0fc93..0d8ca5c9f131 100644 --- a/arch/powerpc/xmon/xmon.c +++ b/arch/powerpc/xmon/xmon.c @@ -3842,7 +3842,7 @@ static void sysrq_handle_xmon(int key) xmon_init(0); } -static struct sysrq_key_op sysrq_xmon_op = { +static const struct sysrq_key_op sysrq_xmon_op = { .handler = sysrq_handle_xmon, .help_msg = "xmon(x)", .action_msg = "Entering xmon", -- 2.25.1