From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Date: Mon, 23 Jan 2017 09:30:26 +0000 Subject: Re: [PATCH 8/9] KVM: Adjust seven checks for null pointers Message-Id: <20170123093026.GM4454@mwanda> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: SF Markus Elfring Cc: kvm@vger.kernel.org, Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , LKML , kernel-janitors@vger.kernel.org Hm... GCC complains about "if (array)" but not about "if (array != NULL) ". I view this as a bug in GCC... But you should still be seeing these compile warnings. This is something like the 6th warning that kbuild has had to send you. regards, dan carpenter From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Subject: Re: [PATCH 8/9] KVM: Adjust seven checks for null pointers Date: Mon, 23 Jan 2017 12:30:26 +0300 Message-ID: <20170123093026.GM4454@mwanda> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , LKML , kernel-janitors@vger.kernel.org To: SF Markus Elfring Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Hm... GCC complains about "if (array)" but not about "if (array != NULL) ". I view this as a bug in GCC... But you should still be seeing these compile warnings. This is something like the 6th warning that kbuild has had to send you. regards, dan carpenter