Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1473098ybk; Thu, 14 May 2020 09:49:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9U+EIOVocaQ6rq+Yf5DNMg304ua2bPYfEN40G5u84TR4MReMVEgM6Srqs6VXYBrH4GAxa X-Received: by 2002:a50:fa87:: with SMTP id w7mr5040820edr.0.1589474955094; Thu, 14 May 2020 09:49:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589474955; cv=none; d=google.com; s=arc-20160816; b=cM39nBPf9jw02Gt2YYIEHHru6V8nCJYoycu0lH3DLRkpg7bSOFN9r1wj4ItGx3DqUK MPVeuWSHQ9K3stk/q7WPpGIhN1VvqOzhQS0FKilcO3IfIQVap9KsjvNEAKZfvuApyaFd 2VfVkkykIv44OD+LpUMG93/BlhTL7U7PdhkToqe/QoHtqqFo24PbMvOZvYULFckBsdVE Nd3D851lkfLJF8DA1r2RR4hvVh1jiTdrRIukGMl0EikR94gUftixu5jSqHolH0dZ4La0 I6V6x8A6lpKIq7yB4QRrZ2f0271Z+qSA0mkzG21bS+rZY5GxZk92rpBjXEMY/0dqbZwL lSCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=HUlduk20pJ/YFrIISsBIBK2of0+byvpGgbvvctRJeGk=; b=q6qO42PF72a9YrNxDV0hkLv5mAaj0n6cerq40/YTvDtRkg6U23pnstgd8ruzB5E6K0 2EO11irovuE6ygiAse5qmFJ4Vo3jmh1/MmDy+71IGVpVgd4GRI0O/o2j3GmtjDf/bxT/ WS92ulM1MKMaTRu3srLKd85EiWYUiYdrQvvme9qoPtrYrT72HN5B1o/6dBlbuR/7YujA tMPybsv5cEW6DF2nKl2/Zv4nILZX1ONrYNiE7x0uJtW4rfFbevGXd3ggYojmcpySU60p 4cXWEIemGWSIe0Hz01jwaFNctz3YiJ69W4b21W6dIuklRz62mWa3Vy6hrcaqsM82iWN/ 9jSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="PQceKUU/"; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h1si1318493ejl.434.2020.05.14.09.48.49; Thu, 14 May 2020 09:49:15 -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=@linaro.org header.s=google header.b="PQceKUU/"; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726179AbgENQqd (ORCPT + 99 others); Thu, 14 May 2020 12:46:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726027AbgENQqd (ORCPT ); Thu, 14 May 2020 12:46:33 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E7867C061A0C for ; Thu, 14 May 2020 09:46:32 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id z72so24041024wmc.2 for ; Thu, 14 May 2020 09:46:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=HUlduk20pJ/YFrIISsBIBK2of0+byvpGgbvvctRJeGk=; b=PQceKUU/1haqRj40OIFIjnM5sSf2/ZevJjBcPrhqlKpdnvlCVRHUZjFasyT6s2gbKt ei8hSv7nDTicLFZGy8b+nafcNk5H915KBYgpIELwoFjcHL4SXtx98ObxXqa3BRUQS27y L7JUB2Y/YBrd0IfJMGk8GxTcRYHAyeffTBE2F4JxJdg6Pqguhkwoc98KjVAEz9cK+mws llyOP59Yr1UXKB3Njg75VgkXgzU5m6ocojxK1kosFG8+XOCcrUeHXEUgqMTjnMwA+lxz uBoWWFsGOHRX/9IJnJRds+JkyP7MVmqGmxDDS9UKZbeBfl6GOtqq1PQvHkZG1no0nHbB KFaA== 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:references :mime-version:content-disposition:in-reply-to; bh=HUlduk20pJ/YFrIISsBIBK2of0+byvpGgbvvctRJeGk=; b=EPe3y8D1Tz8hPSO4WqaTagzjO3Yw6sLmRoXsS6YCxgjB3eFKsfyw/Drf3VBopPoMJI 99rvRm24Oy5la1K61ntn2EEZaggLYqHzJG/MWVQ8qS1XAL0Dg44XaKACuxt3TdBbRm5+ Bi304RI2JEMrJXDyyGhqtlTd1tJ+Dz6QMz844ocy0PmpcrHMCP9jmMFd0GLLCQGsQxd5 vEdnUr6TYHWXVniF3352sW1k8tUY0+CSgfRWhuyNv6/EraWUZ68DES8vXvBwXwQESmGL ocOB6qNIPwFoFVGNG7hbtaaUpBVCV9jg+E7ww1Vf7XkOVQHq7oThGmGVz0RRteqlKOhg Jrbw== X-Gm-Message-State: AGi0PuaP3PQs9mcxUfC/X8+h2clhZsetOKhh/tiL5bN2W/8uo9MNqhsR t9XApNA7b4323/+GvWubLuMIHQ== X-Received: by 2002:a1c:6884:: with SMTP id d126mr30492018wmc.179.1589474791525; Thu, 14 May 2020 09:46:31 -0700 (PDT) Received: from holly.lan (cpc141214-aztw34-2-0-cust773.18-1.cable.virginm.net. [86.9.19.6]) by smtp.gmail.com with ESMTPSA id n128sm14603108wmb.47.2020.05.14.09.46.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 May 2020 09:46:30 -0700 (PDT) Date: Thu, 14 May 2020 17:46:29 +0100 From: Daniel Thompson To: Emil Velikov Cc: dri-devel@lists.freedesktop.org, Greg Kroah-Hartman , Jiri Slaby , linux-kernel@vger.kernel.org, Jason Wessel , kgdb-bugreport@lists.sourceforge.net Subject: Re: [PATCH 09/11] kdb: constify sysrq_key_op Message-ID: <20200514164629.6jxixnmi3tal5yfx@holly.lan> References: <20200513214351.2138580-1-emil.l.velikov@gmail.com> <20200513214351.2138580-9-emil.l.velikov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200513214351.2138580-9-emil.l.velikov@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 13, 2020 at 10:43:49PM +0100, Emil Velikov wrote: > 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: Jason Wessel > Cc: Daniel Thompson > Cc: kgdb-bugreport@lists.sourceforge.net > Signed-off-by: Emil Velikov Acked-by: Daniel Thompson > --- > 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. > --- > kernel/debug/debug_core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/kernel/debug/debug_core.c b/kernel/debug/debug_core.c > index 2b7c9b67931d..355bea54ca0e 100644 > --- a/kernel/debug/debug_core.c > +++ b/kernel/debug/debug_core.c > @@ -920,7 +920,7 @@ static void sysrq_handle_dbg(int key) > kgdb_breakpoint(); > } > > -static struct sysrq_key_op sysrq_dbg_op = { > +static const struct sysrq_key_op sysrq_dbg_op = { > .handler = sysrq_handle_dbg, > .help_msg = "debug(g)", > .action_msg = "DEBUG", > -- > 2.25.1 >