https://github.com/torvalds/linux
Revision 9362dd1109f87a9d0a798fbc890cb339c171ed35 authored by Martin Wilck on 25 July 2018, 21:15:08 UTC, committed by Jens Axboe on 26 July 2018, 17:52:33 UTC
Fixes: 72ecad22d9f1 ("block: support a full bio worth of IO for simplified bdev direct-io")
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin Wilck <mwilck@suse.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent b403ea2
Raw File
Tip revision: 9362dd1109f87a9d0a798fbc890cb339c171ed35 authored by Martin Wilck on 25 July 2018, 21:15:08 UTC
blkdev: __blkdev_direct_IO_simple: fix leak in error case
Tip revision: 9362dd1
mkuboot.sh
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0

#
# Build U-Boot image when `mkimage' tool is available.
#

MKIMAGE=$(type -path "${CROSS_COMPILE}mkimage")

if [ -z "${MKIMAGE}" ]; then
	MKIMAGE=$(type -path mkimage)
	if [ -z "${MKIMAGE}" ]; then
		# Doesn't exist
		echo '"mkimage" command not found - U-Boot images will not be built' >&2
		exit 1;
	fi
fi

# Call "mkimage" to create U-Boot image
${MKIMAGE} "$@"
back to top