# Directory include/scst/
-for f in $(ls scst/include/*h)
+for f in $(ls scst/include/*h 2>/dev/null)
do
if ! in_separate_patch "${f}"; then
add_file "${f}" "include/scst/${f#scst/include/}"
add_file "scst/kernel/in-tree/Makefile.scst" "drivers/scst/Makefile"
-for f in $(ls scst/src/*.[ch])
+for f in $(ls scst/src/*.[ch] 2>/dev/null)
do
if ! in_separate_patch "${f}"; then
add_file "${f}" "drivers/scst/${f#scst/src/}"
"drivers/scst/dev_handlers/Makefile" \
| process_patch "dev_handlers_makefile.diff"
-for f in $(ls scst/src/dev_handlers/*.[ch])
+for f in $(ls scst/src/dev_handlers/*.[ch] 2>/dev/null)
do
if ! in_separate_patch "${f}"; then
add_file "${f}" "drivers/scst/dev_handlers/${f#scst/src/dev_handlers/}"
make -s -C iscsi-scst include/iscsi_scst_itf_ver.h
(
-for f in $(ls iscsi-scst/include/*h)
+for f in $(ls iscsi-scst/include/*h 2>/dev/null)
do
if [ "${f}" != "iscsi-scst/include/iscsi_scst_itf_ver.h" ]; then
add_file "${f}" "include/scst/${f#iscsi-scst/include/}"
add_file "iscsi-scst/kernel/Kconfig" "drivers/scst/iscsi-scst/Kconfig"
-for f in $(ls iscsi-scst/kernel/*.[ch])
+for f in $(ls iscsi-scst/kernel/*.[ch] 2>/dev/null)
do
add_file "${f}" "drivers/scst/iscsi-scst/${f#iscsi-scst/kernel/}"
done
make -C qla2x00t -s patches
- for f in $(ls qla2x00t/in-tree-patches/qla2xxx-*-${kernel_version}.patch)
+ for f in $(ls qla2x00t/in-tree-patches/qla2xxx-*-${kernel_version}.patch 2>/dev/null)
do
g="${f#qla2x00t/in-tree-patches/qla2xxx-}"
g="${g%-${kernel_version}.patch}"
add_file "qla2x00t/qla2x_tgt_def.h" \
"drivers/scsi/qla2xxx/qla2x_tgt_def.h"
- for f in $(ls qla2x00t/qla2x00-target/*.[ch])
+ for f in $(ls qla2x00t/qla2x00-target/*.[ch] 2>/dev/null)
do
add_file "${f}" "drivers/scst/qla2xxx-target/${f#qla2x00t/qla2x00-target/}"
done
add_file "srpt/src/Makefile.in_kernel" "drivers/scst/srpt/Makefile"
- for f in $(ls srpt/src/*.[ch])
+ for f in $(ls srpt/src/*.[ch] 2>/dev/null)
do
add_file "${f}" "drivers/scst/srpt/${f#srpt/src/}"
done
add_file "mpt/in-tree/Kconfig" "drivers/message/fusion/mpt_scst/Kconfig"
- for f in $(ls mpt/*.[ch])
+ for f in $(ls mpt/*.[ch] 2>/dev/null)
do
add_file "${f}" "drivers/message/fusion/mpt_scst/${f#mpt/}"
done