Received: by 10.223.164.202 with SMTP id h10csp3155261wrb; Sat, 25 Nov 2017 03:11:13 -0800 (PST) X-Google-Smtp-Source: AGs4zMbB/fYLUtO4jeCkUmvqX10XHGgJSPQEcQROug9qP+QsTlhsmq+a7i2p6fvYfLGTkZxUOgVF X-Received: by 10.84.128.227 with SMTP id a90mr32673936pla.224.1511608273665; Sat, 25 Nov 2017 03:11:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511608273; cv=none; d=google.com; s=arc-20160816; b=Gu5Htv6mekKpe0cKuqZXA4rYezQDhCkhP6BKq7lMjP+dKEWBxkRvfTy6ww6wrIRCbv uFKGxnt0pT/ZVi2k6vduYCGJHEZf2wz/ofzyFhOJ1S9tZGnQ/0mMteICsYsBUsasNUwG jVY+LsmHLOlcTl8GWNXuM7MURxVMKlxFVgGAibAjD2IDBADD9smprzRYypGQ48lgTPFb rIN/dKbA8k2jxxOZp42rbYtSNqSXfwyzgZ03Y7MboIe6fUjeEwAnWrys9nqXztOJyShd cyMTdfWurbmcBYC4+ouF+BmaM2yIs8m9ede7vmKn5BrSHsmGkv3xb4ESoJoY2auMw75P 1N9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature:arc-authentication-results; bh=2/FdWtr/1HwMNd5rp+6ID5QB08kFGj+lt6nArV42P3M=; b=p4lKbiHexb/xbPIK2ZkaKOm+wOnYnQdA6l81RVvWdFfXObiDssB0BtFQalb6ZLNXVp ij3YAraitIRQ82eBdhb0coU/ejAekQ/p8s0fr2fgek7GIfRwpfiPYcVP7eHV6uCaWkDb 7e+ZSKdKApTX/It84vfB01VWQagluP59uwvfULsvOzWGiB+XgHiLWqMMIqDH/qs6RNUP hTa9h6Z/PI00RJu0BxzyPlUjG9lfmU7o/GZMPPemwAbSSpA8cH+C9ZI0NAV47EhrVbVU 8HnD2Y3BltFyNew2LR+gNVX7Df1Ysbj5Rz4kckPhwouFopz0nM9Kz9IdkVjbhmyl4dzc lr6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gwY9/Oh7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e8si3548149pgu.577.2017.11.25.03.11.00; Sat, 25 Nov 2017 03:11:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gwY9/Oh7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751415AbdKYLKV (ORCPT + 79 others); Sat, 25 Nov 2017 06:10:21 -0500 Received: from mail-pl0-f67.google.com ([209.85.160.67]:46150 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751076AbdKYLKT (ORCPT ); Sat, 25 Nov 2017 06:10:19 -0500 Received: by mail-pl0-f67.google.com with SMTP id k7so5754879pln.13; Sat, 25 Nov 2017 03:10:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=2/FdWtr/1HwMNd5rp+6ID5QB08kFGj+lt6nArV42P3M=; b=gwY9/Oh7iHP6avExOH0Fq1roIOo+1ogNP6KEF9YcmSST0k61d76vDx3KhO/hAs220I 645p8MEe2xIsH8kH5Yqd/NSGG4FN0/OMrVgc2PaXxjdv40YUxE8oAFivypmL/Wq1CzgX QOeube5bmMSVW2fSYqKkyT4rGmUIkYegd3okogUuLl9clomMxp3fW/ZherHHR0RYC3cg /teF7+Lbpsu4GYvDM60nLUdBjLQ1yzwe0FQack8Ye9q2oXsD/TF4c1FZkLz6xCF5C7eW fnhRnbxMo1/wYQdhbxrA/zI9Ku+b+rfpP7Qc56HJwVZu93HU7rvI0fv56iexyAPXEwtN XrDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=2/FdWtr/1HwMNd5rp+6ID5QB08kFGj+lt6nArV42P3M=; b=srQGFyDmlAUlnU9Z7/gWMVvvZ0yTlM/s/vVP6bMLNIxm3GI9crvLiyOTcVq11vQmUb U7Tq9si3BF0RfeERUX86hKESyrOsyWsPjwb4dYdc1wfU9/myM6aA9IQoGLLJi4ihh8la k3laHKkwVVq/7G5CFQ5qw8BAB+uc1+gjBEDkmr3Ez/Svp+1XI48VxXFUyQzBtUi56hp/ /V/9ZKAEsR+9iN4SaGSybjxaKwb/GNVFhySnK0cLPskRBa4mYu23PYStHborU8SdBh3G HRdr6/KyBVDX/9w1sK3vr+j53cs0dCzw78sA+S6+dDA6cPsiV9grwpNvvW0+4x10zwiR vrxg== X-Gm-Message-State: AJaThX4IZtmg5DzTTcaL0mqFzQ3rkYF2QDzD4jRZmx41wsj1C13briOn gSPeJgANeNXg1obMnZmCFytwHw== X-Received: by 10.84.129.2 with SMTP id 2mr32069331plb.343.1511608218519; Sat, 25 Nov 2017 03:10:18 -0800 (PST) Received: from [192.168.0.110] ([103.16.68.147]) by smtp.gmail.com with ESMTPSA id h81sm45549380pfh.119.2017.11.25.03.10.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 25 Nov 2017 03:10:17 -0800 (PST) Subject: Re: [PATCH] pata_pdc2027x: Fix coding sytle error To: Joe Perches , b.zolnierkie@samsung.com, tj@kernel.org, sergei.shtylyov@cogentembedded.com References: <68e25992911d7c4d6c17b9f31524a614466d9588.1511605703.git.arvind.yadav.cs@gmail.com> <1511607744.2503.1.camel@perches.com> Cc: linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org From: arvindY Message-ID: <5A194F96.2020605@gmail.com> Date: Sat, 25 Nov 2017 16:40:14 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <1511607744.2503.1.camel@perches.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Joe, On Saturday 25 November 2017 04:32 PM, Joe Perches wrote: > On Sat, 2017-11-25 at 16:04 +0530, Arvind Yadav wrote: > [] >> diff --git a/drivers/ata/pata_pdc2027x.c b/drivers/ata/pata_pdc2027x.c > [] >> @@ -84,7 +84,7 @@ static int pdc2027x_set_mode(struct ata_link *link, struct ata_device **r_failed >> */ >> static struct pdc2027x_pio_timing { >> u8 value0, value1, value2; >> -} pdc2027x_pio_timing_tbl [] = { >> +} pdc2027x_pio_timing_tbl[] = { >> { 0xfb, 0x2b, 0xac }, /* PIO mode 0 */ >> { 0x46, 0x29, 0xa4 }, /* PIO mode 1 */ >> { 0x23, 0x26, 0x64 }, /* PIO mode 2 */ > trivia: > > It seems all the _timing_tbl structs should be const > Yes, It should be const. I will push anther patch. ~arvind From 1585035659309339837@xxx Sat Nov 25 11:03:18 +0000 2017 X-GM-THRID: 1585033918245593664 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread