#!/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]+ r _R[^[:space:]]+16___IS_RUST_MODULE[^[:space:]]*$' '/> index : kernel
Hosts the 0x221E linux distro kernel.Ubuntu
summaryrefslogtreecommitdiff
path: root/drivers/mtd/mtdpart.c
AgeCommit message (Expand)Author
2013-04-05mtd: mtdcore: use const qualifierArtem Bityutskiy
2013-04-05mtd: add 'const' qualifier to a couple of register functionsArtem Bityutskiy
2012-10-09Merge tag 'disintegrate-mtd-20121009' of git://git.infradead.org/users/dhowel...David Woodhouse
2012-09-29mtd: mtdpart: break it as soon as we parse out the partitionsHuang Shijie
2012-09-04mtd: mtdparts: introduce mtd_get_device_sizeRichard Genoud
2012-09-04mtd: mark mtd_is_partition argument as constantRichard Genoud