From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752363AbbIRHnL (ORCPT ); Fri, 18 Sep 2015 03:43:11 -0400 Received: from mail.windriver.com ([147.11.1.11]:44613 "EHLO mail.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752217AbbIRHnJ (ORCPT ); Fri, 18 Sep 2015 03:43:09 -0400 From: To: , CC: , , , , Subject: [V2 PATCH] mips: vmcore: forced convert 'hdr' in elf_check_arch() Date: Fri, 18 Sep 2015 15:42:50 +0800 Message-ID: <1442562171-21307-1-git-send-email-yanjiang.jin@windriver.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Yanjiang Jin V1->V2: According to Minfei's suggestion, coverting in the Macro rather than in vmcore.c. Already verified this patch on a MIPS64 cavium octeon board: CN78XX. This patch is to eliminate the compile warning only, has no side effect in run-time. Yanjiang Jin (1): mips: vmcore: forced convert 'hdr' in elf_check_arch() arch/mips/include/asm/elf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.9.1