Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF1F0C433EF for ; Wed, 5 Jan 2022 18:13:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242795AbiAESN3 (ORCPT ); Wed, 5 Jan 2022 13:13:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242792AbiAESN0 (ORCPT ); Wed, 5 Jan 2022 13:13:26 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93D30C061201; Wed, 5 Jan 2022 10:13:26 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0840761803; Wed, 5 Jan 2022 18:13:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E6910C36AE0; Wed, 5 Jan 2022 18:13:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1641406404; bh=zhplsuu66hz6tRG+gx2Tb2xspbLyWTB04cTwrjsM9aQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=rnPysyYOGBEvDCD83fCpLiRYaIGvY/GUIu2Ooq5os4IxEdAedWD6mJUOz3x0zFsyf L2jbbF4mkEZuc/KZvN+83pkT94nLVVkzzzSvHRbIILN+arKDJpmXfpdQMVW3LnymPA 80Tb3euxv++XzZ2X+xsAuLB63yYPmsBVZYqkDsY4= Date: Wed, 5 Jan 2022 19:13:22 +0100 From: Greg Kroah-Hartman To: Rob Landley Cc: linux-kernel@vger.kernel.org, Yoshinori Sato , Rich Felker , linux-sh@vger.kernel.org Subject: Re: [PATCH] sh: sq: use default_groups in kobj_type Message-ID: References: <20220104162240.1309639-1-gregkh@linuxfoundation.org> <4622e641-1423-e72a-4f6d-5f2cc747a148@landley.net> <616fabc9-cf79-4c84-a1cc-6ecede77fa9c@landley.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <616fabc9-cf79-4c84-a1cc-6ecede77fa9c@landley.net> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 05, 2022 at 12:11:25PM -0600, Rob Landley wrote: > On 1/5/22 11:52 AM, Greg Kroah-Hartman wrote: > > On Wed, Jan 05, 2022 at 11:46:28AM -0600, Rob Landley wrote: > >> On 1/4/22 10:22 AM, Greg Kroah-Hartman wrote: > >> > There are currently 2 ways to create a set of sysfs files for a > >> > kobj_type, through the default_attrs field, and the default_groups > >> > field. Move the sh sq sysfs code to use default_groups field which has > >> > been the preferred way since aa30f47cf666 ("kobject: Add support for > >> > default attribute groups to kobj_type") so that we can soon get rid of > >> > the obsolete default_attrs field. > >> > >> Let's see, sh4-specific, depends on CONFIG_SH_STORE_QUEUES... it built but I'm > >> not finding an "sq" entry under /proc. (Or anything with "mapping" in it...) > >> > >> Oh well, probably right? Didn't break anything for me: > >> > >> Tested-by: Rob Landley > > > > Thanks! Seems to pass 0-day testing as well :) > > > > Should I take this in my tree? > > Yes please. Wonderful, will go do that now. greg k-h