Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4794200rwd; Tue, 30 May 2023 09:59:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7JVR6edzssX9XHRYrtaC0o9Fwa0ydDm60mC9blqSNaSyPFeXNF8qoE6d4jvNvg/2PEKVuy X-Received: by 2002:a17:90b:17ca:b0:250:3bc3:2b09 with SMTP id me10-20020a17090b17ca00b002503bc32b09mr3203653pjb.12.1685465959797; Tue, 30 May 2023 09:59:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685465959; cv=none; d=google.com; s=arc-20160816; b=yBM+535p8scrXrodm9RbPCPinCnIB00D8Vn9+5O22KmztxrHQG5/nsFOjlSHj+OR/O lXEhh8o0ta6x/0Iv06ydvAqUq+bkl6qmx1DumV31Rjp/xVnTvy2vbKJ++T6/auAL9CxM aHebtBqhw9cCUPdX+v3NIhss5PW6xrAzQGzgj+SWQGsyfLKC/gt6ypjimasKoVBnLeWk H18MEk3/fTVDbW9RN+g4v6UFdIFC6BUpt16ezBBAtopBWeKPqHXM9p30a0waILRn/mDv XZaKe7jGu5AN3EfQ0+6ejSaDytV69btVM4PmYVnWVJ16K3gJceMdyJjv9TsSNyB0Z2Tt bpzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:dkim-signature:date; bh=lkdfG8PfxR+Q6aqSQsAeFNZ6ipFZCD/4nfH0CNCjbC8=; b=oQJBqOGSxVnFanZ8sBYeHOz33+safVri6d0WBCSlb9fvQyGZL5DpIQIzbEWRl95UrG nladyE7CEVnRq0/ytH1yBXKfADhiUe6sUV9puuP/FBwks2K8SQ5NEFfMFtLk75UmkGHS RbiPZ6ITAvQrZLWj4j4Q55k7dnRvrPgutTa0XDC+uJPsNuMdr1IN4szLkb/XYiy9sDrr XVVSbFxQAoxbQZRqZN4D6P1nIFzQ1wxZFfwEXUWmUaCuSV3UQqCQackVxG02yVimaOx8 InSm3hVMU+l8JUdHcWpXcp7+ewvfvGMAn4vWrO5KVfQbzrYSOE2s8ABJlHdF/66VAWau jsPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b=JZ+nk7AI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bj19-20020a17090b089300b0025345363ef3si11754855pjb.115.2023.05.30.09.59.08; Tue, 30 May 2023 09:59:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b=JZ+nk7AI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232663AbjE3Qwg (ORCPT + 99 others); Tue, 30 May 2023 12:52:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230171AbjE3Qwe (ORCPT ); Tue, 30 May 2023 12:52:34 -0400 Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AF7E98; Tue, 30 May 2023 09:52:33 -0700 (PDT) Date: Tue, 30 May 2023 18:52:30 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=t-8ch.de; s=mail; t=1685465551; bh=f6eldl2pZLUUZwcEnDp5SdxtieGtAhMzeCd64+CweYY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JZ+nk7AIWzsA6QWWt/1O8TpPjc4K24cY/9LIpla1V/Xyl1rSwCLbcmdArE4s2d1Ek l5N8+Wa85JYhzeoNGf9TBHCxg2YVHtdf/UWIKmzb5JWG4a128iA9ZlNRxsaMRMEvs0 zz+xTuom8tDdcpyuQbnf2LC2ZkIP5WdPKn1ov0eQ= From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Jens Axboe Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, kernel test robot Subject: Re: [PATCH v2 0/4] block: constify some structures of partitions/core.c Message-ID: <5aeb26f6-aeca-4f77-8328-a753f9a5141b@t-8ch.de> References: <20230419-const-partition-v2-0-817b58f85cd1@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230419-const-partition-v2-0-817b58f85cd1@weissschuh.net> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jens, could you take a look at this? Thanks, Thomas On 2023-04-19 15:22:52+0200, Thomas Weißschuh wrote: > A few structures containing function pointers that could and should be > const are not. Change that. > > Signed-off-by: Thomas Weißschuh > --- > Changes in v2: > - Use correct syntax for const array of function pointers. > Reported by LKP bot. > - Link to v1: https://lore.kernel.org/r/20230419-const-partition-v1-0-2d66f2d83873@weissschuh.net > > --- > Thomas Weißschuh (4): > block: constify partition prober array > block: constify struct part_type part_type > block: constify struct part_attr_group > block: constify the whole_disk device_attribute > > block/partitions/core.c | 8 ++++---- > include/linux/blkdev.h | 2 +- > 2 files changed, 5 insertions(+), 5 deletions(-) > --- > base-commit: af67688dca57999fd848f051eeea1d375ba546b2 > change-id: 20230419-const-partition-a06b9f76b2f3 > > Best regards, > -- > Thomas Weißschuh >