summaryrefslogtreecommitdiff
path: root/scripts/is_rust_module.sh
blob: 464761a7cf7f25c0b194b1cd72481e2cb2bc5d48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
#
# is_rust_module.sh module.ko
#
# Returns `0` if `module.ko` is a Rust module, `1` otherwise.

set -e

# Using the `16_` prefix ensures other symbols with the same substring
# are not picked up (even if it would be unlikely). The last part is
# used just in case LLVM decides to use the `.` suffix.
#
# In the future, checking for the `.comment` section may be another
# option, see https://github.com/rust-lang/rust/pull/97550.
${NM} "$*" | grep -qE '^[0-9a-fA-F]+ [Rr] _R[^[:space:]]+16___IS_RUST_MODULE[^[:space:]]*$'
x_drv.h?h=linux-6.6.y&id=04ed7ed769f9b4476414ccf700a668a38e2a2454'>staging: vboxvideo: Fix DPMS support after atomic conversionHans de Goede 2018-09-29staging: vboxvideo: Atomic phase 2: Stop using plane->fb and crtc->*Hans de Goede 2018-09-29staging: vboxvideo: Atomic phase 1: convert cursor to universal planeHans de Goede 2018-09-29staging: vboxvideo: Cache mode width, height and crtc panning in vbox_crtcHans de Goede 2018-09-20staging: vboxvideo: Add vbox_bo_k[un]map helper functionsHans de Goede 2018-09-20staging: vboxvideo: Move bo_[un]resere calls into vbox_bo_[un]pinHans de Goede 2018-09-20staging: vboxvideo: Move pin / unpin of fb out of vbox_crtc_set_base_and_modeHans de Goede 2018-09-20staging: vboxvideo: Init fb_info.fix.smem once from fbdev_createHans de Goede 2018-09-20staging: vboxvideo: Embed drm_device into driver structureHans de Goede 2018-09-20staging: vboxvideo: Fold driver_load/unload into probe/remove functionsHans de Goede 2018-06-17staging: vboxvideo: Update driver to use drm_dev_register.Fabio Rafael da Rosa 2017-10-18staging: vboxvideo: Fix reporting invalid suggested-offset-propertiesHans de Goede 2017-07-17staging: vboxvideo: Add vboxvideo to drivers/stagingHans de Goede