From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Shtylyov Subject: Re: [PATCH] Check return code from pdc20621_i2c_read() Date: Mon, 3 Aug 2015 18:52:09 +0300 Message-ID: <55BF8E29.6000200@cogentembedded.com> References: <1438510340-21568-1-git-send-email-barletz@gmail.com> <55BDFA5C.3040506@cogentembedded.com> <55BF8BCA.40602@cogentembedded.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <55BF8BCA.40602@cogentembedded.com> Sender: linux-kernel-owner@vger.kernel.org To: Tomer Barletz Cc: tj@kernel.org, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-ide@vger.kernel.org On 08/03/2015 06:42 PM, Sergei Shtylyov wrote: >>> Please use pr_err() instead. And "0x%d" makes no sense at all, please >>> use "%#x" instead. >> Yeah, not sure what I was drinking before writing this 0x%d thing... >> Regarding the pr_err() - it is not used at all in this file, and >> printk() is used instead. Didn't notice before: the patch subject should start with the driver name and a colon, "sats_sx4: ". >> --Tomer MBR, Sergei