Changes in 4.9.281 iio: adc: Fix incorrect exit of for-loop ASoC: intel: atom: Fix reference to PCM buffer address i2c: dev: zero out array used for i2c reads from userspace ACPI: NFIT: Fix support for virtual SPA ranges ppp: Fix generating ifname when empty IFLA_IFNAME is specified net: Fix memory leak in ieee802154_raw_deliver net: bridge: fix memleak in br_add_if() tcp_bbr: fix u32 wrap bug in round logic if bbr_init() called after 2B packets xen/events: Fix race in set_evtchn_to_irq x86/tools: Fix objdump version check again PCI/MSI: Enable and mask MSI-X early PCI/MSI: Do not set invalid bits in MSI mask PCI/MSI: Correct misleading comments PCI/MSI: Use msi_mask_irq() in pci_msi_shutdown() PCI/MSI: Protect msi_desc::masked for multi-MSI PCI/MSI: Mask all unused MSI-X entries PCI/MSI: Enforce that MSI-X table entry is masked for update PCI/MSI: Enforce MSI[X] entry updates to be visible vmlinux.lds.h: Handle clang's module.{c,d}tor sections mac80211: drop data frames without key on encrypted links KVM: nSVM: avoid picking up unsupported bits from L2 in int_ctl (CVE-2021-3653) x86/fpu: Make init_fpstate correct with optimized XSAVE dmaengine: usb-dmac: Fix PM reference leak in usb_dmac_probe() ARM: dts: am43x-epos-evm: Reduce i2c0 bus speed for tps65218 dmaengine: of-dma: router_xlate to return -EPROBE_DEFER if controller is not yet available scsi: megaraid_mm: Fix end of loop tests for list_for_each_entry() scsi: scsi_dh_rdac: Avoid crash during rdac_bus_attach() scsi: core: Avoid printing an error if target_alloc() returns -ENXIO ARM: dts: nomadik: Fix up interrupt controller node names Bluetooth: hidp: use correct wait queue when removing ctrl_wait dccp: add do-while-0 stubs for dccp_pr_debug macros vhost: Fix the calculation in vhost_overflow() net: 6pack: fix slab-out-of-bounds in decode_data net: qlcnic: add missed unlock in qlcnic_83xx_flash_read32 mmc: dw_mmc: call the dw_mci_prep_stop_abort() by default mmc: dw_mmc: Fix hang on data CRC error ALSA: hda - fix the 'Capture Switch' value change notifications ipack: tpci200: fix many double free issues in tpci200_pci_probe btrfs: prevent rename2 from exchanging a subvol with a directory from different parents ASoC: intel: atom: Fix breakage for PCM buffer address setup locks: print a warning when mount fails due to lack of "mand" support fs: warn about impending deprecation of mandatory locks Linux 4.9.281 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: I0f50adb340b9ef3eb12acf7f244b283ab16ae3bf
35 lines
742 B
Awk
35 lines
742 B
Awk
# GNU objdump version checker
|
|
#
|
|
# Usage:
|
|
# objdump -v | awk -f chkobjdump.awk
|
|
BEGIN {
|
|
# objdump version 2.19 or later is OK for the test.
|
|
od_ver = 2;
|
|
od_sver = 19;
|
|
}
|
|
|
|
/^GNU objdump/ {
|
|
verstr = ""
|
|
gsub(/\(.*\)/, "");
|
|
for (i = 3; i <= NF; i++)
|
|
if (match($(i), "^[0-9]")) {
|
|
verstr = $(i);
|
|
break;
|
|
}
|
|
if (verstr == "") {
|
|
printf("Warning: Failed to find objdump version number.\n");
|
|
exit 0;
|
|
}
|
|
split(verstr, ver, ".");
|
|
if (ver[1] > od_ver ||
|
|
(ver[1] == od_ver && ver[2] >= od_sver)) {
|
|
exit 1;
|
|
} else {
|
|
printf("Warning: objdump version %s is older than %d.%d\n",
|
|
verstr, od_ver, od_sver);
|
|
print("Warning: Skipping posttest.");
|
|
# Logic is inverted, because we just skip test without error.
|
|
exit 0;
|
|
}
|
|
}
|