[RFC][PATCH 2/8] module: Convert symbol namespace to string literal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



git grep -l -e MODULE_IMPORT_NS -e EXPORT_SYMBOL_NS | while read file;
do
  sed -i -e 's/MODULE_IMPORT_NS(\([^)]*\))/MODULE_IMPORT_NS("\1")/g' \
         -e 's/\(EXPORT_SYMBOL_NS[^(]*\)(\([^,]*\), \([^)]*\))/\1(\2, "\3")/g' $file;
done

Signed-off-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>
---






[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux