From: Nishanth Aravamudan Date: Thu, 2 Jul 2015 22:40:09 +0000 (-0700) Subject: crypto: nx - do not emit extra output if status is disabled X-Git-Tag: omap-for-v4.3/fixes-merge-window~29^2~162 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7abd75bf7ac6d04e0389472cf2cd3a8bf53e4894;p=pandora-kernel.git crypto: nx - do not emit extra output if status is disabled If the device-tree indicates the nx-842 device's status is 'disabled', we emit two messages: nx_compress_pseries ibm,compression-v1: nx842_OF_upd_status: status 'disabled' is not 'okay'. nx_compress_pseries ibm,compression-v1: nx842_OF_upd: device disabled Given that 'disabled' is a valid state, and we are going to emit that the device is disabled, only print out a non-'okay' status if it is not 'disabled'. Signed-off-by: Nishanth Aravamudan Signed-off-by: Herbert Xu --- Reading git-diff-tree failed