Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1940543lql; Wed, 13 Mar 2024 12:29:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVRgjkZyUUGmK2b8BWj22zYqq5dAeiU9GHlaGv1Kv1G6TAcCyEzWiEPwNlL9QXJcLyJC4rlwg/6bps/1JV6F4lZjbr6+SQ6REoCyEiVpA== X-Google-Smtp-Source: AGHT+IFA1+2Nki12EHRUbdD7QerI8ahUnSv5LADXAkv/vgYqVwzVeoyXlC0AI68/CV+sBVhmICLK X-Received: by 2002:a05:6870:b312:b0:221:7779:c4f8 with SMTP id a18-20020a056870b31200b002217779c4f8mr15831363oao.51.1710358165514; Wed, 13 Mar 2024 12:29:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710358165; cv=pass; d=google.com; s=arc-20160816; b=Std+5PVyoBC08ir8H7nV+7FsWc9BYy5OJBuzoIv0Z/9CXijHvTUS5hILtiluRiL9aq zDeIWLVupwypnIvKa1v+rmSgfR8+YEAj1vV2PxvBXozUvsg2Z8UZVjHIpfRdhN5DUrmz bCYjDZ16P72FAES2nIrlWcReCjS/EoyCuv1t4jRLXE5z8rWZWCnaOq2ycjOutr9jZizx DDuLdnKO/rGYTDRCr3yX1qthnZ1FiLXsrBCiTrv7W5aSfXfwsFkhktb7hkOheQg4j1Ml ywORypUD8JjOnpHW+PWhkqFNx7dwd97ZEFpEXnqM9ALfFp1qpFAXdMCVKD8JsNSTtsY2 +LpA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=19x1Ac15rLwOqUkCkkNDCNMXVAzg+BltQMzrd17CHPE=; fh=FoRP4aaariO7j97lc6mLReFY3owUs96R+iXPhDjBx1w=; b=rPp4kfOJyaL/FCbnGtqRnlpITxi8U9V3wGGb1bRielEfmtr2bJdXmA0UF/OiepLDnw lVOL4t7n7pkZ87P6XTCMcjVPoy0yyz6PDk/ozOVp58Rc/IK/+oZxyZuu8nYlYFRoYIl2 Gs0CsyCicn0y3rlXVkb8MCrWFlGee/+99O8fNLUqObSSXEEqvHYBoyE6jc8FwlHBy/mG AUbZirEiC8xrQ3ZctWQX3lS6Ht2D2QEWTLp+OYZxtfPLwNF8XlpiVMTZ1S55IfWNdLAJ KjcrPZFKz6QcbQ7BSlmK8isbV3p1MyfHYjk4DJwlX8T9qs7Gqw+ntNGQZl95bedHwQlT LojA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SjsVS+t6; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-102394-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102394-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id s191-20020a6377c8000000b005cdacf9065fsi9589495pgc.720.2024.03.13.12.29.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 12:29:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-102394-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=SjsVS+t6; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-102394-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-102394-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 3854228F41A for ; Wed, 13 Mar 2024 19:18:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9836D5A0FC; Wed, 13 Mar 2024 19:03:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SjsVS+t6" Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 73A6C168CD for ; Wed, 13 Mar 2024 19:03:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710356582; cv=none; b=IuANpoL34t//+u6iMkxP6JechKCE/aDJYEiPZoXQVxjLOAikZQPm6AF/DP21U5n/U2tWc1RN6RT0k7c6yS7gfWDXxwMR4sn55YBux60IqHYYP3ijzNWNcV3hW2UuYzkpKHNqZ2YxPjK8tq0LhNhj8eSLQ/2Q+D4RK2DNtEDw0Zg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710356582; c=relaxed/simple; bh=jyHu3DD33SQw40vH0ZcmNDRW4P3d+298/8SBjo+jPWE=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=Jqf1iKNh/OPTB+g/ARsVbT5WokeJl5y7UBiVGwipz49/aCP53p1Aujlf7edMId3MOQcZaQ42AiB7yrg875m23jg2LnAiYzLvLVY6oB7lJmZx8AlUjlXzClGccxKbxkNilM/wxGHijg6EnEMkdua1ORWiwk15uvD8Ylx1dQS0FRc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=SjsVS+t6; arc=none smtp.client-ip=209.85.214.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-1dd59b95677so1403295ad.1 for ; Wed, 13 Mar 2024 12:03:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710356581; x=1710961381; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=19x1Ac15rLwOqUkCkkNDCNMXVAzg+BltQMzrd17CHPE=; b=SjsVS+t6HCguUULmLzrkj4cOnEj8nPo1wufRXDiANZIEmoWHsTJ5IMPq5w5080tNTy vztZmh0AxQF1FXNq5WeNbglBHjcO7frITqNHKpERsbUX3EuE/5cboiOdKikhCWXmxloX +ndb1t0ILAWrKkuh7pAd589WYUZ92vAnb8be8TVJQQYREZuvMGO0oHCJzwpynSPs6v8J j78xltjaFcKxJa+fwMR4dQjVaXj+mijJETct7p6jEt1DAb5BhU0bYAk9mCS4z0irFzDC Q3L30a01cdLXaJLqA7NjMKkzwQaA3z3Hh2RrdlfB3uN9g6U+s3xtnhK4YzotfoSxNLSc +VYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710356581; x=1710961381; h=content-disposition:mime-version:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=19x1Ac15rLwOqUkCkkNDCNMXVAzg+BltQMzrd17CHPE=; b=CNc3+Y6urBmGJt1B5r7XbmgiKt9rCylvU/TY/sO5pKjNoYczDLZlg2ie/4ODAPDj2Y I+mnmoqqTV1bb0vjdYrQBfEsLI+21BkSYZg+j87runPdkCw0/eZ1nkSI+gWcwYHYkqok gNBnAVNttSox/NBYkq15pVOgma5p9A9eSGCCVa3FCnieN6dDjNKE3f7Kf7wztVrDnjHq lzWiLA8Rqf5P65Z4d0q68wFtgDR7xYL+5z+OShngIditvDGkMwRDaYHVS17iFwRz3xt8 tp46Lm9r4fBuTB937WU147QK8ufY41fcUZySrM25eHv6/qTRhz56+xmVAJH9o376d+xk q48Q== X-Forwarded-Encrypted: i=1; AJvYcCX/qZhYmw6+WP+wOEO36IS+nJD5EXAns7CyZvK3/KG/PhhrXvMI7FtPlGt65ZwMnPbvQXt4Vv5dAgJXsfuu3lw+OF9REE6TTLaMgSxK X-Gm-Message-State: AOJu0YyYH9pYAS+0872LKbVJZAmFzHZcwoe0i7QW2W+Wf22EDfpQvY0F UxFHPyJ1oXGnyZH4qliy1fosEclLyCyEoF/EQa2tfaQPnU5Y2O6H X-Received: by 2002:a17:902:eb88:b0:1dc:1c81:1b19 with SMTP id q8-20020a170902eb8800b001dc1c811b19mr17280391plg.3.1710356580702; Wed, 13 Mar 2024 12:03:00 -0700 (PDT) Received: from ayush-HP-Pavilion-Gaming-Laptop-15-ec0xxx ([103.6.158.67]) by smtp.gmail.com with ESMTPSA id d8-20020a170902cec800b001dd91af1f03sm7142853plg.200.2024.03.13.12.02.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 12:03:00 -0700 (PDT) Date: Thu, 14 Mar 2024 00:32:57 +0530 From: Ayush Tiwari To: Larry.Finger@lwfinger.net, florian.c.schilhabel@googlemail.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev Cc: outreachy@lists.linux.dev Subject: [PATCH] staging: greybus: add const type to struct kobj_type gb_audio_module_type Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Add type qualifier const in struct kobj_type gb_audio_module_type to address checkpatch warning and conform to the kernel coding style. Signed-off-by: Ayush Tiwari --- drivers/staging/greybus/audio_manager_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/greybus/audio_manager_module.c b/drivers/staging/greybus/audio_manager_module.c index 5f9dcbdbc191..4a4dfb42f50f 100644 --- a/drivers/staging/greybus/audio_manager_module.c +++ b/drivers/staging/greybus/audio_manager_module.c @@ -144,7 +144,7 @@ static struct attribute *gb_audio_module_default_attrs[] = { }; ATTRIBUTE_GROUPS(gb_audio_module_default); -static struct kobj_type gb_audio_module_type = { +static const struct kobj_type gb_audio_module_type = { .sysfs_ops = &gb_audio_module_sysfs_ops, .release = gb_audio_module_release, .default_groups = gb_audio_module_default_groups, -- 2.40.1