• Greg Kroah-Hartman's avatar
    driver core: make struct class.devnode() take a const * · ff62b8e6
    Greg Kroah-Hartman authored
    The devnode() in struct class should not be modifying the device that is
    passed into it, so mark it as a const * and propagate the function
    signature changes out into all relevant subsystems that use this
    callback.
    
    Cc: Fenghua Yu <fenghua.yu@intel.com>
    Cc: Reinette Chatre <reinette.chatre@intel.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Borislav Petkov <bp@alien8.de>
    Cc: Dave Hansen <dave.hansen@linux.intel.com>
    Cc: x86@kernel.org
    Cc: "H. Peter Anvin" <hpa@zytor.com>
    Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Justin Sanders <justin@coraid.com>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Sumit Semwal <sumit.semwal@linaro.org>
    Cc: Benjamin Gaignard <benjamin.gaignard@collabora.com>
    Cc: Liam Mark <lmark@codeaurora.org>
    Cc: Laura Abbott <labbott@redhat.com>
    Cc: Brian Starkey <Brian.Starkey@arm.com>
    Cc: John Stultz <jstultz@google.com>
    Cc: "Christian König" <christian.koenig@amd.com>
    Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
    Cc: Maxime Ripard <mripard@kernel.org>
    Cc: Thomas Zimmermann <tzimmermann@suse.de>
    Cc: David Airlie <airlied@gmail.com>
    Cc: Daniel Vetter <daniel@ffwll.ch>
    Cc: Jason Gunthorpe <jgg@ziepe.ca>
    Cc: Leon Romanovsky <leon@kernel.org>
    Cc: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
    Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
    Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
    Cc: Sean Young <sean@mess.org>
    Cc: Frank Haverkamp <haver@linux.ibm.com>
    Cc: Jiri Slaby <jirislaby@kernel.org>
    Cc: "Michael S. Tsirkin" <mst@redhat.com>
    Cc: Jason Wang <jasowang@redhat.com>
    Cc: Alex Williamson <alex.williamson@redhat.com>
    Cc: Cornelia Huck <cohuck@redhat.com>
    Cc: Kees Cook <keescook@chromium.org>
    Cc: Anton Vorontsov <anton@enomsg.org>
    Cc: Colin Cross <ccross@android.com>
    Cc: Tony Luck <tony.luck@intel.com>
    Cc: Jaroslav Kysela <perex@perex.cz>
    Cc: Takashi Iwai <tiwai@suse.com>
    Cc: Hans Verkuil <hverkuil-cisco@xs4all.nl>
    Cc: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
    Cc: Xie Yongji <xieyongji@bytedance.com>
    Cc: Gautam Dawar <gautam.dawar@xilinx.com>
    Cc: Dan Carpenter <error27@gmail.com>
    Cc: Eli Cohen <elic@nvidia.com>
    Cc: Parav Pandit <parav@nvidia.com>
    Cc: Maxime Coquelin <maxime.coquelin@redhat.com>
    Cc: alsa-devel@alsa-project.org
    Cc: dri-devel@lists.freedesktop.org
    Cc: kvm@vger.kernel.org
    Cc: linaro-mm-sig@lists.linaro.org
    Cc: linux-block@vger.kernel.org
    Cc: linux-input@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Cc: linux-media@vger.kernel.org
    Cc: linux-rdma@vger.kernel.org
    Cc: linux-scsi@vger.kernel.org
    Cc: linux-usb@vger.kernel.org
    Cc: virtualization@lists.linux-foundation.org
    Link: https://lore.kernel.org/r/20221123122523.1332370-2-gregkh@linuxfoundation.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    ff62b8e6
cpuid.c 4.33 KB