From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeroen Hofstee Date: Thu, 19 Jun 2014 22:30:12 +0200 Subject: [U-Boot] am335x: board.c: clang warning Message-ID: <1403209812.2418.11.camel@yellow> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Tom, The following clang warnings are not trivial to fix for me, And since the file in question has many contributers I am not sure who is responsible nowadays. Can you make sure this end up at someone who knows about the am335x, since this sound a bit fishy.. (but likely works somehow...) Regards, Jeroen e.g. make am335x_boneblack_config board/ti/am335x/board.c:87:44: warning: signed shift result (0x480000000) requires 36 bits to represent, but 'int' only has 32 bits [-Wshift-overflow] .datardsratio0 = ((MT47H128M16RT25E_RD_DQS<<30) | ~~~~~~~~~~~~~~~~~~~~~~~^ ~~ board/ti/am335x/board.c:103:49: warning: signed shift result (0x2000000000) requires 39 bits to represent, but 'int' only has 32 bits [-Wshift-overflow] .datafwsratio0 = ((MT47H128M16RT25E_PHY_FIFO_WE<<30) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~~ board/ti/am335x/board.c:107:49: warning: signed shift result (0x1000000000) requires 38 bits to represent, but 'int' only has 32 bits [-Wshift-overflow] .datawrsratio0 = ((MT47H128M16RT25E_PHY_WR_DATA<<30) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ~~ 3 warnings generated.