diff options
author | 2024-12-05 18:09:29 +0100 | |
---|---|---|
committer | 2024-12-05 18:09:29 +0100 | |
commit | c34e9ab9a612ee8b18273398ef75c207b01f516d (patch) | |
tree | 6845a1809118a2b2a21d5a638ace1976dd8f8c46 /rust/helpers/cred.c | |
parent | ALSA: hda/realtek: Fix spelling mistake "Firelfy" -> "Firefly" (diff) | |
parent | ASoC: mediatek: mt8188-mt6359: Remove hardcoded dmic codec (diff) | |
download | wireguard-linux-c34e9ab9a612ee8b18273398ef75c207b01f516d.tar.xz wireguard-linux-c34e9ab9a612ee8b18273398ef75c207b01f516d.zip |
Merge tag 'asoc-fix-v6.13-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v6.13
A few small fixes for v6.13, all system specific - the biggest thing is
the fix for jack handling over suspend on some Intel laptops.
Diffstat (limited to 'rust/helpers/cred.c')
-rw-r--r-- | rust/helpers/cred.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/rust/helpers/cred.c b/rust/helpers/cred.c new file mode 100644 index 000000000000..fde7ae20cdd1 --- /dev/null +++ b/rust/helpers/cred.c @@ -0,0 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0 + +#include <linux/cred.h> + +const struct cred *rust_helper_get_cred(const struct cred *cred) +{ + return get_cred(cred); +} + +void rust_helper_put_cred(const struct cred *cred) +{ + put_cred(cred); +} |