https://github.com/torvalds/linux
Revision 09e71a6f13445974fe9b70b6d4b68ac362cd68b6 authored by Dave Jiang on 13 December 2016, 16:03:13 UTC, committed by Jon Mason on 23 December 2016, 21:10:54 UTC
The offsets for the SZ registers are wrong. Updated.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Reported-by: Sandeep Mann <sandeep@purestorage.com>
Tested-by: Zachary Ross <zacharyx.ross@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
1 parent 5c43c52
Raw File
Tip revision: 09e71a6f13445974fe9b70b6d4b68ac362cd68b6 authored by Dave Jiang on 13 December 2016, 16:03:13 UTC
ntb: fix SKX NTB config space size register offsets
Tip revision: 09e71a6
prune-kernel
#!/bin/bash

# because I use CONFIG_LOCALVERSION_AUTO, not the same version again and
# again, /boot and /lib/modules/ eventually fill up.
# Dumb script to purge that stuff:

for f in "$@"
do
        if rpm -qf "/lib/modules/$f" >/dev/null; then
                echo "keeping $f (installed from rpm)"
        elif [ $(uname -r) = "$f" ]; then
                echo "keeping $f (running kernel) "
        else
                echo "removing $f"
                rm -f "/boot/initramfs-$f.img" "/boot/System.map-$f"
                rm -f "/boot/vmlinuz-$f"   "/boot/config-$f"
                rm -rf "/lib/modules/$f"
                new-kernel-pkg --remove $f
        fi
done
back to top