ipc/sem.c: avoid overflow of semop undo (semadj) value
[firefly-linux-kernel-4.4.55.git] / net / irda / irda_device.c
index 3eca35faf2a89110eee9f944d86d55ed19e60e13..365b895da84b5ef3565527675e4103ba05b6dffe 100644 (file)
@@ -23,9 +23,7 @@
  *     GNU General Public License for more details.
  *
  *     You should have received a copy of the GNU General Public License
- *     along with this program; if not, write to the Free Software
- *     Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- *     MA 02111-1307 USA
+ *     along with this program; if not, see <http://www.gnu.org/licenses/>.
  *
  ********************************************************************/
 
@@ -42,6 +40,7 @@
 #include <linux/kmod.h>
 #include <linux/spinlock.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 
 #include <asm/ioctls.h>
 #include <asm/uaccess.h>