// SPDX-License-Identifier: GPL-2.0-or-later /* * 32bit -> 64bit ioctl wrapper for hwdep API * Copyright (c) by Takashi Iwai <[email protected]> */ /* This file is included from hwdep.c */ #include <linux/compat.h> struct snd_hwdep_dsp_image32 { … } /* don't set packed attribute here */; static int snd_hwdep_dsp_load_compat(struct snd_hwdep *hw, struct snd_hwdep_dsp_image32 __user *src) { … } enum { … }; static long snd_hwdep_ioctl_compat(struct file * file, unsigned int cmd, unsigned long arg) { … }