From: Wolfgang Denk Date: Thu, 05 Jan 2012 17:19:12 +0100 Subject: [U-Boot] [PATCH] avoid flash writes for new keys, with no values with fw_setenv In-Reply-To: <1324457962.60605.YahooMailNeo@web120203.mail.ne1.yahoo.com> References: <1324457962.60605.YahooMailNeo@web120203.mail.ne1.yahoo.com> Message-ID: <20120105161912.EFB2F1FD3DA@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Sridhar Addagada, In message <1324457962.60605.YahooMailNeo@web120203.mail.ne1.yahoo.com> you wrote: > > This will avoid flash writes for fw_setenv command where the key is not present the environment and no value has been provided. Line too long. And your patch is white space corrupted. Please fix your mailer, or better use git-format-patch and git-send-email instead. Also, make sure to always call fw_env_close(). Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de If there are self-made purgatories, then we all have to live in them. -- Spock, "This Side of Paradise", stardate 3417.7